Closed ARC-LTER closed 2 years ago
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.
The .Renviron file reference has been removed from the vignettes.
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"))