assert | R Documentation |
Assert: throw exception if the condition is not satisfied.
assert(condition, message = "assert error")
condition |
Condition for assert. |
message |
Exception message if the condition is not satisfied. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.