r-lib / keyring

:closed_lock_with_key: Access the system credential store from R
https://keyring.r-lib.org/
Other
196 stars 28 forks source link

Error in namespaceExport(ns, exports) : undefined exports: askpass, ssh_askpass #70

Closed shubharaghav closed 3 years ago

shubharaghav commented 5 years ago

Hi,

I am getting the below error after installing Keyring package and calling the library

install.package("Keyring", dependencies = TRUE) library("Keyring") keyring::key_set(service= "sqldw_pw") Error in namespaceExport(ns, exports) :
undefined exports: askpass, ssh_askpass

This may be due this recent change : https://github.com/r-lib/keyring/commit/099006a5360bd490c2a1158f35301add51063f68#diff-9c46cb4f3228981231f7387462e0aeb8

Please suggest how I can resolve this. Thank You!

gaborcsardi commented 5 years ago

I am not sure what you did, but the function is install.packages() and the package is called "keyring", with lowercase.

That commit is not in the CRAN version of the package, which you are trying to use.

shubharaghav commented 5 years ago

Sorry for the typos, I just typed some pseudo code in a hurry.

packageVersion("keyring") [1] ‘1.1.0’