Description Usage Arguments Value
Asserts if a value is True. If False, throws a warning (default) or error
1 | assert(expression, message = NULL, error = FALSE)
|
expression |
expression that should be True |
message |
warning or error message (default is "Assert Error: Value is False") |
error |
turns the warning into an error (stops the program execution) |
value of the expression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.