sendgridr icon indicating copy to clipboard operation
sendgridr copied to clipboard

Problems with installation

Open mscbuck opened this issue 1 year ago • 2 comments

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* package ‘sendgridr’ ...
** package ‘sendgridr’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Warning: replacing previous import ‘purrr::pluck’ by ‘rvest::pluck’ when loading ‘emayili’
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
Warning: replacing previous import ‘purrr::pluck’ by ‘rvest::pluck’ when loading ‘emayili’
Error: package or namespace load failed for ‘sendgridr’:
 .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   

mscbuck avatar May 15 '23 20:05 mscbuck

@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.

mrchypark avatar May 18 '23 07:05 mrchypark

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.

peter-bastian avatar Aug 26 '23 00:08 peter-bastian