Description Usage Arguments Value Note Examples
Error, warning, and message classes derived from their simple equivalents.
1 2 3 4 5 | assertionError(message, call = NULL, predicate_name = NULL)
assertionWarning(message, call = NULL, predicate_name = NULL)
assertionMessage(message, call = NULL, predicate_name = NULL)
|
message |
A string describing the problem. |
call |
A call describing the source of the condition. |
predicate_name |
A string naming the predicate that was called when the condition occured. |
An object of class assertionError
, assertionWarning
, or
assertionMessage
.
These objects behave the same as the standard-issue simpleError
,
simpleWarning
, and simpleMessage
objects from base-R. The
extra class allows you to provide custom handling for assertions inside
tryCatch
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.