Assert$check | R Documentation |
Static method asserting that a generic condition is true.
## Static method (use this):
## Assert$check(condition, message=NULL, ...)
## Don't use the below:
## S3 method for class 'Assert'
check(static, condition, message=NULL, ...)
condition |
A condition that should return |
message |
The error message to be reported on failure. If |
... |
Not used. |
Returns (invisibly) TRUE
, or throws an exception.
Henrik Bengtsson
For more information see Assert
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.