The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

testit: A Simple Package for Testing R Packages

A minimal, dependency-free testing framework for R packages. Write tests as simple R expressions that return TRUE, using assert() for assertions (with informative error messages on failure), has_error() / has_warning() / has_message() for testing conditions, and test_pkg() to run all tests with full access to internal (non-exported) package functions. Snapshot testing via Markdown files is also supported.

Version: 1.0
Published: 2026-05-13
DOI: 10.32614/CRAN.package.testit
Author: Yihui Xie ORCID iD [aut, cre] (URL: https://yihui.org), Tomas Kalibera [ctb], Steven Mortimer [ctb]
Maintainer: Yihui Xie <xie at yihui.name>
BugReports: https://github.com/yihui/testit/issues
License: MIT + file LICENSE
URL: https://github.com/yihui/testit
NeedsCompilation: no
Materials: NEWS
CRAN checks: testit results

Documentation:

Reference manual: testit.html , testit.pdf

Downloads:

Package source: testit_1.0.tar.gz
Windows binaries: r-devel: testit_1.0.zip, r-release: testit_1.0.zip, r-oldrel: testit_1.0.zip
macOS binaries: r-release (arm64): testit_1.0.tgz, r-oldrel (arm64): testit_1.0.tgz, r-release (x86_64): testit_1.0.tgz, r-oldrel (x86_64): testit_1.0.tgz
Old sources: testit archive

Reverse dependencies:

Reverse imports: DAISIE, elfgen, FlexRL, HybridDesign, mcbette, netmhc2pan, nLTT, nodeSub, Unico, Wats
Reverse suggests: animation, blogdown, bookdown, DDD, DT, formatR, futile.logger, GenomeAdmixR, highr, knitr, lambda.r, nlmeVPC, NlsyLinks, pagedown, risk.assessr, rticles, tinyimg, tinytex, validata, xaringan, xfun

Linking:

Please use the canonical form https://CRAN.R-project.org/package=testit to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.