use_envstat | R Documentation |
Create a new skeleton configuration file
use_envstat(filepath = "~/.envstat", source = NULL, consent = FALSE)
filepath |
path to the config file |
source |
customise the source of the example config file |
consent |
boolean indicates user consent, default FALSE |
TRUE/FALSE invisibly to indicate success/failure
## Not run: # By default envstat uses a config file in your home directory envstat::use_envstat() # But you can tell it to use a different config file if you prefer envstat::use_envstat(filepath = "/tmp/config.yml") # During normal operation use_envstat uses a default config file that ships # with the package, but you can specify your own if you have one. This can # be useful in settings such as multi-user server deployments of R, as many # users could use the same base configuration file and personalise it for # their own specific use case. envstat::use_envstat(source = "/shared/corp_envstat_conf.yml") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.