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 |
| 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 |
| Reference manual: | testit.html , testit.pdf |
| 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 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 |
Please use the canonical form https://CRAN.R-project.org/package=testit to link to this page.
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.