Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

testthat-package

An R package to make testing fun!


Description

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

Maintainer: Hadley Wickham hadley@rstudio.com

Other contributors:

  • RStudio [copyright holder, funder]

  • R Core team (Implementation of utils::recover()) [contributor]

See Also

Useful links:


testthat

Unit Testing for R

v3.0.2
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre], RStudio [cph, fnd], R Core team [ctb] (Implementation of utils::recover())
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.