Check Object Length(s)
Usage
assert_length(
x,
expected,
allow_empty = empty,
allow_null = FALSE,
empty = FALSE
)
assert_lengths(x, expected)
See also
Other checking methods:
assert_constant()
,
assert_dim()
,
assert_empty()
,
assert_infinite()
,
assert_lower()
,
assert_missing()
,
assert_names()
,
assert_numeric
,
assert_package()
,
assert_square()
,
assert_type()
,
assert_unique()