You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"))
The text was updated successfully, but these errors were encountered:
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.
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"))
The text was updated successfully, but these errors were encountered: