assert_empty | R Documentation |
Checks if an object is (not) empty.
assert_empty(x)
assert_filled(x)
x |
An object to be checked. |
Throws an error, if any, and returns x
invisibly otherwise.
N. Frerebeau
Other checking methods:
assert_constant()
,
assert_dim()
,
assert_infinite()
,
assert_length()
,
assert_lower()
,
assert_missing()
,
assert_names()
,
assert_numeric
,
assert_package()
,
assert_square()
,
assert_type()
,
assert_unique()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.