Read package configuration
loadConfig.RdRead default package configuration and complete it with eventual user config.
Usage
loadConfig(
userFile = "config.yml",
pathDefaultCfg = system.file("config.yml", package = utils::packageName()),
...
)Arguments
- userFile
location of the user config YML file (Use NULL or empty character to ignore)
- pathDefaultCfg
The location of the default configuration (located in "inst/config.yml" of the package by default)
- ...
Other parameters than
filesent to config::get such asconfigorvalue
Value
A configuration as it is returned by config::get