getConfig: Get configuration for package, if any

View source: R/config.R

getConfigR Documentation

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")

Arguments

fileName

String providing configuration file base name

packageName

String providing the package name

Value

A list of (yaml) configuration

Examples

getConfig()

Rapporteket/rapbase documentation built on Nov. 22, 2023, 9:21 p.m.