powered by
assert_all_are_nan(x) assert_any_are_nan(x) assert_all_are_not_nan(x) assert_any_are_not_nan(x) is_nan(x) is_not_nan(x)
is_nan
is.nan
is_not_nan
assert_*
is_*
FALSE
assert_all_are_not_nan(1:10) assert_any_are_not_nan(c(NaN, 1))
Run the code above in your browser using DataLab