How severe should the consequences of the assertion be?
Either "stop", "warning", "message", or "none".
.xname
Not intended to be used directly.
Value
is_array and is_matrix wrap is.array,
and is.matrix respectively, providing more information on
failure. The assert_* functions return nothing but throw
an error if the corresponding is_* function returns
FALSE.