assertions: Additional Assertions for 'checkmate'

assertionsR Documentation

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.

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().


Roche/crmPack documentation built on April 20, 2024, 1:10 p.m.