How severe should the consequences of the assertion be?
Either "stop", "warning", "message", or "none".
.xname
Not intended to be used directly.
Value
has_rows and has_cols return TRUE if
nrow and ncol respectively return a value that is
non-null and positive. The assert_* functions return nothing
but throw an error if the corresponding has_* function returns
FALSE.