View source: R/setup_copernicus.R
copernicus_set_env_credentials | R Documentation |
Helper function to set credentials in .Renviron file for persistent storage. This is more secure than storing in scripts.
copernicus_set_env_credentials(username, password, overwrite = FALSE)
username |
Character. Copernicus Marine username. |
password |
Character. Copernicus Marine password. |
overwrite |
Logical. Overwrite existing credentials in .Renviron? Default: FALSE. |
Invisible TRUE if successful.
## Not run:
# Set credentials in .Renviron (will persist across R sessions)
copernicus_set_env_credentials("your_username", "your_password")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.