tinytestSetting up the tinytest framework is covered in detail
in the documentation of tinytest. Quick
summary:
tinytest::setup_tinytest(".").inst/tinytest.checkmateEdit your DESCRIPTION and add checkmate
to Suggests unless it is already listed in
Imports for its assertions.
In each test file which calls an expectation
from 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
sufficient.
Check if everything works with R CMD check.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.