Parameterized Unit Testing
Overview
This is an extension of the 'testthat' package that lets you add parameters to your unit tests. Parameterized unit tests are often easier to read and more reliable, since they follow the DNRY (do not repeat yourself) rule.
- @chiricom is now the maintainer of {patrick}. Thanks @michaelquinn32 for 7 years at the help as package creator and maintainer!
- Minor fix in the test suite to adapt to {testthat} 3.3.0. Thanks @hadley!
- Require R >= 4.1.0, which {testthat} 3.3.0 does as well.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 2 (1 internal)includes a package overview page
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 0%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 24
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
11 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/google/patrick on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 3 practices
Dependencies
Installing patrick adds 33 packages (17 with compiled code, 10 MB of source tarballs). Heaviest: fs 1.4 MB, jsonlite 1.0 MB, vctrs 1.0 MB.
Show all 18 packagesHide all 18 packages
Code & Tests
People & History
Maintainer since 0.0.1 (2018)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.3.1Latest
- RR 4.5.0 released · 2025-04-11
- 0.3.02025-01-27 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.2.02022-10-13 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.1.02021-10-11 · diff ↗
- 0.0.42021-09-23 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.0.32020-10-27 · diff ↗
- 0.0.22020-09-14 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.0.12018-08-13
Show 1 earlier eventHide 1 earlier event
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-08-13
- Total releases
- 8 / 8 yrs
- License
- Apache License 2.0 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 8.7 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("patrick")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.