testthat
3.3.2Unit Testing for R
11,722packages depend
11.9Mdownloads / year
84.8%test coverage
13/13checks pass
Overview
About
Software testing is important, but, in part because it is frustrating and boring, many of us avoid it. 'testthat' is a testing framework for R that is easy to learn and use, and integrates with your existing 'workflow'.
Install
Health
CRAN checks
13OK
Slowest check: 6.5 min · r-oldrel-windows-x86_64
Check history
- OK2026-07-1313 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-07-1112 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-3013 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-05-2812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 7 earlier snapshots
- ERROR2026-05-0412 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-2012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1811 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-04-1512 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1211 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation signals are not tracked yet for this package.
Downloads
11.9M
CRAN downloads in the past year
Rank #65 · ~32.7K/day · ~993.3K/mo
testthat
Daily download trend is not available in this view yet.
982.3K30 days
3.1M90 days
11.9M1 year
Also on155.4K r2u170 autocran367.5K conda_forge275 bioconda856 c2d4u
Repository
Repository
934Stars
341Forks
20Open issues
3Open PRs
41Releases
2,629Commits
148Contributors
runit-testing
2,629 commits · Last activity 2026-07-06 · +0.4% stars, 30d
Repository practices
Upstream repositoryBeta
11 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/r-lib/testthat on 2026-07-19.
Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Lint, format, editor (3)
AirVS CodeRStudio project
Show all practices
Coverage (2)
Codecov.covrignore
Governance and community (1)
CODEOWNERS
Git structural (1)
.gitattributes
Dependencies
Declared dependencies
31 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (18)
LinkingTo (0)
none
Suggests (15)
Enhances (0)
none
Reverse dependencies
11,722direct
205indirect
exactcihedgehoghttptesthumanFormathySpc.testthatkergpmiLAGoverlappingpop.lionshinytest2testdatACEsearchBallMapperCytOpTDBItestDamiaNNEstimDiagnosticsFFTreesFastUtilsMIMERMapinguariPatientGeneratorRSDKSimDesignSixSigmaTestGeneratorThermalSampleRamregtestaprofatlasbedrccrtmcmdfuncobiclustcucumberddtlcmdevtoolsdexisensitivitydoctestdrugsensdtmapieposescalationfPASSflashrflintyRfmeffectsgradeR
and 11,709 more packages.
Code & Tests
People & History
People (3)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (1)
Contributor · added in 2.0.0
Copyright holders (1)
Copyright holder, Funder · added in 3.1.8
Funders (1)
Copyright holder, Funder · added in 3.1.8
Listed in earlier versions (2)
no longer listed · 0.9 to 0.9.1
no longer listed · 0.10.0 to 3.1.7
Package Timeline
51 releases. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 3.3.2Latest
- 3.3.12025-11-25 · diff ↗
- 3.3.02025-11-13 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 3.2.32025-01-13 · diff ↗
- 3.2.22024-12-10 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 3.2.1.12024-04-14 · diff ↗
- 3.2.12023-12-02 · diff ↗
- 3.2.02023-10-06 · diff ↗
- 3.1.102023-07-07 · diff ↗
- 3.1.92023-06-16 · diff ↗
- 3.1.82023-05-04 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 3.1.72023-03-12 · diff ↗
Show 55 earlier events
- 3.1.62022-12-10 · diff ↗
- 3.1.52022-10-08 · diff ↗
- 3.1.42022-04-26 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 3.1.32022-03-29 · diff ↗
- 3.1.22022-01-20 · diff ↗
- 3.1.12021-12-03 · diff ↗
- 3.1.02021-10-04 · diff ↗
- 3.0.42021-07-01 · diff ↗
- 3.0.32021-06-17 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 3.0.22021-02-14 · diff ↗
- 3.0.12020-12-17 · diff ↗
- 3.0.02020-10-31 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.3.22020-03-02 · diff ↗
- 2.3.12019-12-01 · diff ↗
- 2.3.02019-11-05 · diff ↗
- 2.2.12019-07-25 · diff ↗
- 2.2.02019-07-22 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.1.12019-04-24 · diff ↗
- 2.1.02019-04-23 · diff ↗
- 2.0.12018-10-13 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 2.0.02017-12-13 · diff ↗
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.0.22016-04-23 · diff ↗
- 1.0.12016-04-21 · diff ↗
- 1.0.02016-04-14 · diff ↗
- 0.11.02015-10-14 · diff ↗
- 0.10.02015-05-22 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 0.9.12014-10-01 · diff ↗
- 0.92014-09-22 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 0.8.12014-02-22 · diff ↗
- 0.82014-02-20 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 0.7.12013-03-27 · diff ↗
- 0.72012-06-27 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 0.62011-12-30 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 0.52011-06-01 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 0.42011-03-20 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 0.32010-08-31 · diff ↗
- 0.22010-07-25 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 0.1.12009-11-30 · diff ↗
- 0.12009-11-17
- RR 2.10.0 released · 2009-10-26
0 of 2 selectedCompare selected
Package metadata
- First published
- 2009-11-17
- Total releases
- 51 / 17 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 814 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet