.checkListElements | R Documentation |
Tests if list elements are defined and reports the value or issues a warning.
.checkListElements(param_list = NULL, elements = character(0))
param_list |
A list containing variables to be checked. Default: |
elements |
A character vector of element names in |
A message for each element that is defined, and a warning for elements that are not.
param_list <- list(a = 1, b = NULL)
elements <- c("a", "b", "c")
.checkListElements(param_list, elements)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.