R/assertion.R
assert.Rd
Asserts a given expression and throws an error if it returns FALSE
assert(expression, error)
R expression to be evaluated
message to be displayed when the expression is not fulfilled