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 Assert
check(static, condition, message=NULL, ...)
A condition that should return TRUE
if ok, or something
else if not.
The error message to be reported on failure. If NULL
,
a message is automatically created.
Not used.
Returns (invisibly) TRUE
, or throws an exception.
For more information see Assert
.