Description Usage Arguments Value See Also Examples
Checks to see if the input is an environment.
1 2 3 | assert_is_environment(x, severity = getOption("assertive.severity", "stop"))
is_environment(x, .xname = get_name_in_parent(x))
|
x |
Input to check. |
severity |
How severe should the consequences of the assertion be?
Either |
.xname |
Not intended to be used directly. |
is_environment
wraps is.environment
, providing more
information on failure. assert_is_environment
returns nothing
but throws an error if is_environment
returns FALSE
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.