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

Error with gm_auth_configure pulling from gargle package #199

Closed
Thomas-Hagan opened this issue May 11, 2024 · 4 comments
Closed

Error with gm_auth_configure pulling from gargle package #199

Thomas-Hagan opened this issue May 11, 2024 · 4 comments

Comments

@Thomas-Hagan
Copy link

Recently I have received this error when trying to run this function through terminal

Error: 'gargle_oauth_client_from_json' is not an exported object from 'namespace:gargle'

Admittedly it may be a dependency issue, but I have tried to fix this several times to no avail. Any help would be greatly appreciated.

@jennybc
Copy link
Member

jennybc commented May 13, 2024

The first thing I'd do is make sure you have the most current release of gargle installed from CRAN.

@Thomas-Hagan
Copy link
Author

Both gargle and gmailr are up to date.

@jennybc
Copy link
Member

jennybc commented May 13, 2024

Can you show me exact code and output? Please include calls to packageVersion("gargle") and packageVersion("gmailr").

All I can say is gargle_oauth_client_from_json() is exported from gargle v1.5.2.

packageVersion("gargle")
#> [1] '1.5.2'
library(gargle)
exists("gargle_oauth_client_from_json", where = "package:gargle")
#> [1] TRUE

Created on 2024-05-13 with reprex v2.1.0.9000

@Thomas-Hagan
Copy link
Author

Hi Jenny,

Apologies, this has resolved, no cause for alarm

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

2 participants