Setting up the
tinytest framework is covered in detail
in the documentation of tinytest. Quick
DESCRIPTION and add
Suggests unless it is already listed in
Imports for its assertions.
In each test file which calls an expectation
checkmate, you must include the following lines at the
beginning of the file:
If you forget the last line, expectations will not get reported
correctly in the summary. Also note that sourcing a file which includes
using("checkmate") is not
Check if everything works with
R CMD check.