How severe should the consequences of the assertion be?
Either "stop", "warning", "message", or "none".
.xname
Not intended to be used directly.
Value
is_environment wraps is.environment, providing more
information on failure. assert_is_environment returns nothing
but throws an error if is_environment returns FALSE.