Skip to contents

Load a list of YAML config files.

Usage

.load_configs(dir, cfg_defs, other_variables = NULL, process = TRUE, ...)

Arguments

dir

A path to directory with YAML config files.

cfg_defs

A list of lists of length three. In each list, the first item is a name of YAML file in dir, the second one is a name in the resulting named list, and the third one is a processing function.

other_variables

Passed to load_config().

process

A logical scalar: if TRUE, apply a processing function on its associated config list.

...

Currently not used.

Value

A named list of lists of loaded YAML configs.