Skip to contents

[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.