set_felt_key {feltr} | R Documentation |
Add Entry to Renviron
Description
Adds Felt API key to .Renviron.
Usage
set_felt_key(key, overwrite = FALSE, install = FALSE, r_env = NULL)
Arguments
key |
Character. API key to add to add. |
overwrite |
Defaults to FALSE. Boolean. Should existing |
install |
Defaults to FALSE. Boolean. Should this be added to an environment file, |
r_env |
Path to install to if |
Value
key, invisibly
Examples
example_env <- tempfile(fileext = '.Renviron')
set_felt_key('1234', r_env = example_env)
# r_env should likely be: file.path(Sys.getenv('HOME'), '.Renviron')
[Package feltr version 0.0.4 Index]