assert_errors: A set of functions to create customized error messages

Description Usage Value Author(s)

Description

The functions are build on top of sprintf()

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
assert(expr, error_msg = "ERROR", ..., warn = FALSE)

assert_is(obj, .class)

assert_inherits(obj, .class)

assert_is_one_of(obj, .classes)

assert_is_single_x(obj, x)

assert_valid_case(argument, cases)

Value

Functions called for their side effect, raises warning or error

Author(s)

Lukas Dargel


spflow documentation built on Sept. 9, 2021, 5:06 p.m.