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

sheets_deauth' is not an exported object from namespace:googlesheets4 #103

Open
sultanovf opened this issue Jan 15, 2024 · 1 comment
Open

Comments

@sultanovf
Copy link

in the file cv_printing_functions.r in the function:

if(is_google_sheets_location){
if(sheet_is_publicly_readable){
# This tells google sheets to not try and authenticate. Note that this will only
# work if your sheet has sharing set to "anyone with link can view"
# googlesheets4::sheets_deauth() https://googlesheets4.tidyverse.org/articles/function-class-names.html
googlesheets4::gs4_deauth()
} else {
# My info is in a public sheet so there's no need to do authentication but if you want
# to use a private sheet, then this is the way you need to do it.
# designate project-specific cache so we can render Rmd without problems
options(gargle_oauth_cache = ".secrets")

I wanted to let you know that ddd does not work, so it did not work for me, instead of googlesheets4::sheets_deauth() I found a new version googlesheets4::gs4_deauth() , and that works for me. https://googlesheets4.tidyverse.org/articles/function-class-names.html

@drfurtado
Copy link

I confirm that this works for me, too.

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