This function writes your AURIN API authentication as a R environment
variable of your current session. If add_to_renviron is TRUE, it
will write the API to your .Renviron file as AURIN_API_USERPWD.
Arguments
- username
Character. AURIN API username.
- password
Character. AURIN API password.
- add_to_renviron
Logical. Default is
FALSE. IfTRUEthen the file directory of the authentication file will be added to your.Renvironfile.- overwrite
Logical. Default is
FALSE. IfTRUE, the existingAURIN_API_USERPWDR environment variable will be replaced with newusernameandpassword.