
Checks if an object contains any missing (NA
, NaN
) values.
assert_missing(x)
Throws an error, if any, and returns x
invisibly otherwise.
An object to be checked.
N. Frerebeau
Other checking methods:
assert_constant()
,
assert_dim()
,
assert_empty()
,
assert_infinite()
,
assert_length()
,
assert_lower()
,
assert_names()
,
assert_numeric
,
assert_package()
,
assert_square()
,
assert_type()
,
assert_unique()