View source: R/check_list_of_lists.R
check_list_of_lists | R Documentation |
These functions check whether the input is a list that contains list elements.
check_list_of_lists(x, len = NULL)
assert_list_of_lists(
x,
len = NULL,
.var.name = checkmate::vname(x),
add = NULL
)
test_list_of_lists(x, len = NULL)
x |
[any] |
len |
[ |
.var.name |
[ |
add |
[ |
Same as documented in check_list
.
Other list helpers:
merge_lists()
L <- list(list(1), list(2), 3)
check_list_of_lists(L)
test_list_of_lists(L)
## Not run:
assert_list_of_lists(L)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.