copernicus_set_env_credentials {copernicusR} | R Documentation |
Set Copernicus Marine credentials in environment file
Description
Helper function to set credentials in .Renviron file for persistent storage. This is more secure than storing in scripts.
Usage
copernicus_set_env_credentials(username, password, overwrite = FALSE)
Arguments
username |
Character. Copernicus Marine username. |
password |
Character. Copernicus Marine password. |
overwrite |
Logical. Overwrite existing credentials in .Renviron? Default: FALSE. |
Value
Invisible TRUE if successful.
Examples
## Not run:
# Set credentials in .Renviron (will persist across R sessions)
copernicus_set_env_credentials("your_username", "your_password")
## End(Not run)
[Package copernicusR version 0.1.0 Index]