Unlist a list of length one containing a named list.
Source:R/config_process_common.R
dot-get_dict_param.Rd
This is used for some YAML parameters which need to be defined this way, otherwise they would get overwritten by default values. Example of such parameter:
PARAM:
- var_1:
a: 1
var_2:
b: 2
Usage
.get_dict_param(
param,
not_empty = FALSE,
empty_to_null = TRUE,
name = deparse(substitute(param))
)