Read configuration values.
Read from the currently active configuration, retrieving either a single named value or all values as a list.
get( value = NULL, config = Sys.getenv("R_CONFIG_ACTIVE", "default"), file = Sys.getenv("R_CONFIG_FILE", "config.yml"), use_parent = TRUE )
value |
Name of value ( |
config |
Name of configuration to read from. Defaults to
the value of the |
file |
Configuration file to read from (defaults to
|
use_parent |
|
For additional details see the package website at https://github.com/rstudio/config.
The requested configuration value (or all values as
a list of NULL
is passed for value
).
A list, or vector, corresponding to the contents of the config file.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.