Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with installation #55

Open
mscbuck opened this issue May 15, 2023 · 2 comments
Open

Problems with installation #55

mscbuck opened this issue May 15, 2023 · 2 comments

Comments

@mscbuck
Copy link

mscbuck commented May 15, 2023

Having some issues installing the package on an Ubuntu machine with R 3.6.0. Any attempts to install from CRAN/Git on a version higher than 0.5.1 results in this error. I can successfully install 0.5.1 from CRAN archive, but anything above this fails due to a keyring errors. I have tried both removing sendgridr completely, as well as keyring completely

For what it's worth, I do have keyring configured correctly (I can even run an auth_check() and get TRUE from sendgridr), but it still will not let me update. I'd honestly prefer to just use a local environment variable, which I see is a feature in the new version, but I am not able to install that version.

In the meantime, I have downgraded to 0.4.3 which uses the environment variable, but seems like if environment variables are an option, reducing the need for a keyring dependency upon installation would be preferable?

* installing *source* packagesendgridr...
** packagesendgridrsuccessfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Warning: replacing previous importpurrr::pluckbyrvest::pluckwhen loadingemayili** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
Warning: replacing previous importpurrr::pluckbyrvest::pluckwhen loadingemayiliError: package or namespace load failed forsendgridr:
 .onLoad failed in loadNamespace() for 'sendgridr', details:
  call: b__file_set_keyring_pass(self, private, key, keyring)
  error: Aborted setting keyring password
Error: loading failed
Execution halted
ERROR: loading failed
* removing/usr/local/lib/R/site-library/sendgridr* restoring previous/usr/local/lib/R/site-library/sendgridr> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.5 LTS

Matrix products: default
BLAS:   /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.6.0 tools_3.6.0   
@mrchypark
Copy link
Owner

@mscbuck I have been neglecting this issue for too long. I will fix it as soon as possible. I understand your opinion. I will share it as soon as I work on it. Thank you.

@peter-bastian
Copy link

Can corroborate @mscbuck experience with this new version and the keyring dependency. I downgraded to 0.4.3 so we could continue to use the ENV Variable, which we prefer as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants