assert function

Asserts a given expression and throws an error if it returns FALSE

Asserts a given expression and throws an error if it returns FALSE

assert(expression, error)

Arguments

  • expression: R expression to be evaluated
  • error: message to be displayed when the expression is not fulfilled
  • Maintainer: Ryszard Szymanski
  • License: MIT + file LICENSE
  • Last published: 2019-12-13