.get_dict_param | R Documentation |
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
.get_dict_param(
param,
not_empty = FALSE,
empty_to_null = TRUE,
name = deparse(substitute(param))
)
param |
A list of length one containing a named list. |
not_empty |
A logical scalar: if |
empty_to_null |
A logical scalar: if |
name |
A passed |
A named list, or NULL
if empty_to_null
is TRUE
and the conditions are met.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.