Try the example below. Have a look at the references and learn more
from function documentation such as test_that()
.
Options
testthat.use_colours
: Should the output be coloured? (Default:TRUE
).testthat.summary.max_reports
: The maximum number of detailed test reports printed for the summary reporter (default: 10).testthat.summary.omit_dots
: Omit progress dots in the summary reporter (default:FALSE
).
Author
Maintainer: Hadley Wickham hadley@posit.co
Other contributors:
Posit Software, PBC [copyright holder, funder]
R Core team (Implementation of utils::recover()) [contributor]