Data Unit Testing for R
Overview
Test your data! An extension of the 'testthat' unit testing framework with a family of functions and reporting tools for checking and validating data frames.
- Expectations are now created using
new_expectation()to prepare for upcoming changes in testthat 3.3.0 (#78, @hadley).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 32 (9 internal)includes a package overview page
- Examples that run
- 96%23 run in a plain check · 1 never run
- Exported functions with examples
- 80%
- Documented parameters
- 94%
- Return-value docs
- 93%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 77%
- Median days to close, 50 most recently updated closed issues
- 100
- Median days to close, 50 most recently updated closed PRs
- 3
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/socialresearchcentre/testdat on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-11-15 · The repository has a site deploy workflow
pkgdown site last built 2025-11-15
Show all practicesHide 1 practice
Dependencies
Code & Tests
People & History
Package metadata
- First published
- 2021-11-12
- Total releases
- 6 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.2.2
- Download size
- 85 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("testdat")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.