Learn R Programming

oeli (version 0.5.0)

check_list_of_lists: Check if an argument is a list of lists

Description

This function checks whether the input is a list that contains list elements.

Usage

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)

Value

Compare to check_list.

Arguments

x

Object to check.

len

[integer(1)]
Exact expected length of x.

.var.name

[character(1)]
Name of the checked object to print in assertions. Defaults to the heuristic implemented in vname.

add

[AssertCollection]
Collection to store assertion messages. See AssertCollection.