Register TfNSW API key.
tfnswapi_register(key, add_to_renviron = FALSE, overwrite = FALSE)
Character. TfNSW API key.
Logical. Default is FALSE
. If TRUE
then the file directory
of the authentication file will be added to your .Renviron
file.
Logical. Default is FALSE
. If TRUE
, the existing TFNSW_API_KEY
R environment variable will be replaced with new key
.
if (FALSE) {
tfnswapi_register(key = "your-key")
}