getConfig: Get configuration for package, if any
Description
Try to obtain yaml-formatted configuration placed either as given by the
environment variable R_RAP_CONFIG_PATH or as provided by the package itself.
If none can be found the function exits with an error
Usage
getConfig(fileName = "dbConfig.yml", packageName = "rapbase")
Value
A list of (yaml) configuration
Arguments
- fileName
String providing configuration file base name
- packageName
String providing the package name