This function checks 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)
Compare to check_list
.
Object to check.
[integer(1)
]
Exact expected length of x
.
[character(1)
]
Name of the checked object to print in assertions. Defaults to
the heuristic implemented in vname
.
[AssertCollection
]
Collection to store assertion messages. See AssertCollection
.