assert {aiRly} | R Documentation |
Asserts a given expression and throws an error if it returns FALSE
Description
Asserts a given expression and throws an error if it returns FALSE
Usage
assert(expression, error)
Arguments
expression |
R expression to be evaluated |
error |
message to be displayed when the expression is not fulfilled |
[Package aiRly version 0.1.0 Index]