How severe should the consequences of the assertion be?
Either "stop", "warning", "message", or "none".
.xname
Not intended to be used directly.
Value
is_nan wraps is.nan, coercing the input to
numeric if necessary. is_not_nan works similarly, but returns
the negation. The assert_* functions return nothing but
throw an error if the corresponding is_* function returns
FALSE.