Skip to content

testthat

3.3.2

Unit Testing for R

11,722packages depend
11.9Mdownloads / year
84.8%test coverage
13/13checks pass

Overview

About
Maintained by Hadley WickhamFirst published 2009-11-1751 releasesCRAN page ↗GitHub ↗

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-13
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-11
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-30
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-28
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 7 earlier snapshots
  • ERROR2026-05-04
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-20
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-15
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-12
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 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
Compare downloads with other packages →
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
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

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.10.0 to 3.1.7
Package Timeline

51 releases. R releases are shown for context.

Show 55 earlier events
  • 3.1.6
    2022-12-10 · diff ↗
  • 3.1.5
    2022-10-08 · diff ↗
  • 3.1.4
    2022-04-26 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 3.1.3
    2022-03-29 · diff ↗
  • 3.1.2
    2022-01-20 · diff ↗
  • 3.1.1
    2021-12-03 · diff ↗
  • 3.1.0
    2021-10-04 · diff ↗
  • 3.0.4
    2021-07-01 · diff ↗
  • 3.0.3
    2021-06-17 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 3.0.2
    2021-02-14 · diff ↗
  • 3.0.1
    2020-12-17 · diff ↗
  • 3.0.0
    2020-10-31 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.3.2
    2020-03-02 · diff ↗
  • 2.3.1
    2019-12-01 · diff ↗
  • 2.3.0
    2019-11-05 · diff ↗
  • 2.2.1
    2019-07-25 · diff ↗
  • 2.2.0
    2019-07-22 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.1.1
    2019-04-24 · diff ↗
  • 2.1.0
    2019-04-23 · diff ↗
  • 2.0.1
    2018-10-13 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.0.0
    2017-12-13 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0.2
    2016-04-23 · diff ↗
  • 1.0.1
    2016-04-21 · diff ↗
  • 1.0.0
    2016-04-14 · diff ↗
  • 0.11.0
    2015-10-14 · diff ↗
  • 0.10.0
    2015-05-22 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.9.1
    2014-10-01 · diff ↗
  • 0.9
    2014-09-22 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 0.8.1
    2014-02-22 · diff ↗
  • 0.8
    2014-02-20 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 0.7.1
    2013-03-27 · diff ↗
  • 0.7
    2012-06-27 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 0.6
    2011-12-30 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 0.5
    2011-06-01 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 0.4
    2011-03-20 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • 0.3
    2010-08-31 · diff ↗
  • 0.2
    2010-07-25 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 0.1.1
    2009-11-30 · diff ↗
  • 0.1
    2009-11-17
  • R
    R 2.10.0 released · 2009-10-26

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
Report a problem with this page →