Learn R Programming

crmPack (version 2.0.0)

assertions: Additional Assertions for checkmate

Description

[Experimental]

We provide additional assertion functions that can be used together with the checkmate functions. These are described in individual help pages linked below.

Arguments

Value

Depending on the function prefix.

  • assert_ functions return the object invisibly if successful, and otherwise throw an error message.

  • check_ functions return TRUE if successful, otherwise a string with the error message.

  • test_ functions just return TRUE or FALSE.

See Also

assert_probabilities(), assert_probability(), assert_probability_range(), assert_length().