How severe should the consequences of the assertion be?
Either "stop", "warning", "message", or "none".
.xname
Not intended to be used directly.
Value
is_character wraps is.character, providing more
information on failure. is_a_string returns TRUE if the
input is character and scalar.
The assert_* functions return nothing but throw an error if the
corresponding is_* function returns FALSE.