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

In vignettes/retrieve_downloads.Rmd documentation on using .Renviron is confusing. #31

Closed
ARC-LTER opened this issue Jan 11, 2022 · 2 comments

Comments

@ARC-LTER
Copy link

It is unclear what content to put in '.Renviron' for login(). The Authentication section in invignettes/evaluate_and_upload.Rmd has a more extensive explanation of authenticating but not for using .Renviron. From https://db.rstudio.com/best-practices/managing-credentials/ it looks like one could put the following in the .Renviron file.
userId = "my_name"
userPass = "my_secert"
And use
login(userId = Sys.getenv("userId"),userPass = Sys.getenv("userPass"))

@clnsmth
Copy link
Contributor

clnsmth commented Jan 11, 2022

Hi @ARC-LTER. The version of retrieve_downloads.Rmd you are referencing has been updated (see here). There's no need to add credentials to the .Renviron file. However, your proposed solution should work just fine.

@clnsmth
Copy link
Contributor

clnsmth commented Mar 25, 2022

The .Renviron file reference has been removed from the vignettes.

@clnsmth clnsmth closed this as completed Mar 25, 2022
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