Skip to content

testdat

0.4.4Package record

Data Unit Testing for R

0packages depend
3.4Kdownloads / year
83.5%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.4.4
  • 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

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.4
READMEYes · 158 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.4.4Citation fileNoWebsiteYes · pkgdown
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

3.4K
CRAN downloads in the past year
Rank #12,267 · ~9/day · ~279/mo
Daily download trend is not available in this view yet.
33230 days
90990 days
3.4K1 year
Compare downloads with other packages →
Also on84 r2u1 autocran

Repository

12Stars
4Forks
7Open issues
1Open PRs
8Releases
173Commits
6Commit identities
r-package
173 commits · Last activity 2025-11-15 · 0% stars, 30d · Default branch at 0.4.4.9000, ahead of CRAN 0.4.4 (checked 2026-10-22)
Responsiveness
How these are sampled
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

2025-10-01 · 112026-07-26 · 12
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-11-15 · The repository has a site deploy workflow

pkgdown site last built 2025-11-15

Coverage (2)
Coverage reporting (Codecov).covrignore
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing testdat adds 34 packages (17 with compiled code, 21 MB of source tarballs). Heaviest: stringi 11 MB, fs 1.4 MB, jsonlite 1.0 MB.

Depends (2)
R >= 3.2.2testthat
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.3.0 (2021)
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.4Latest
    record
    2025-11-15 · current release · diff ↗
  • 0.4.3
    record
    2025-08-19 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.2
    record
    2023-09-04 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.1
    record
    2022-08-25 · diff ↗ ·
    added 1 export
    expect_depends
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.0
    record
    2022-01-04 · diff ↗ ·
    added 1 export
    %E>%
  • 0.3.0
    record
    2021-11-12
  • R
    R 4.1.0 released · 2021-05-18

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")
Smith, D., The Social Research Centre, & Behr, K. (2025). testdat: Data Unit Testing for R (Version 0.4.4) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for testdat version 0.4.4 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy