assert: Asserts a given expression and throws an error if it returns...

Description Usage Arguments

View source: R/assertion.R

Description

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

Usage

1

Arguments

expression

R expression to be evaluated

error

message to be displayed when the expression is not fulfilled


aiRly documentation built on March 19, 2020, 5:11 p.m.