check.Assert {R.utils} | R Documentation |
Static method asserting that a generic condition is true.
Assert$check(condition, message=NULL, ...)
condition |
A condition that should return TRUE if ok, or something
else if not. |
message |
The error message to be reported on failure. If NULL ,
a message is automatically created. |
... |
Not used. |
Returns (invisibly) TRUE
, or throws an exception.
Henrik Bengtsson (http://www.braju.com/R/)
For more information see Assert
.