Skip to content

patrick

0.3.1Package record

Parameterized Unit Testing

0packages dependsuggested by 18
89.9Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.3.1
  • @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

CRAN checks
13OK
Slowest check: 1.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.1
READMEYes · 310 wordsVignettesNoNEWSYes · 100% structured · mentions 0.3.1Citation fileNoWebsitenot declared in DESCRIPTION
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

89.9K
CRAN downloads in the past year
Rank #1,448 · ~246/day · ~7.5K/mo
Daily download trend is not available in this view yet.
5.5K30 days
18.2K90 days
89.9K1 year
Compare downloads with other packages →
Also on2.3K r2u5 autocran1.9K conda_forge

Repository

145Stars
16Forks
7Open issues
2Open PRs
7Releases
107Commits
4Commit identities
License file reads as Apache-2.0 · 107 commits · Last activity 2025-12-03 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-10-25 · 1422026-07-07 · 145
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (2)
Code of conductContributing guide
Reproducibility and dev environment (1)
Dev Container
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Show all practicesHide 3 practices
Research and citation (1)
CITATION.cff
Automation and maintenance (1)
Dependabot
Lint, format, editor (1)
lintr
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 18
Show all 18 packagesHide all 18 packages
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer · added in 0.3.0

Maintainer since 0.0.1 (2018)

Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.1Latest
    record
    2025-12-02 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.0
    record
    2025-01-27 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.0
    record
    2022-10-13 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.0
    record
    2021-10-11 · diff ↗
  • 0.0.4
    record
    2021-09-23 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.0.3
    record
    2020-10-27 · diff ↗
  • 0.0.2
    record
    2020-09-14 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.0.1
    record
    2018-08-13
Show 1 earlier eventHide 1 earlier event
  • R
    R 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")
Chirico, M., & Quinn, M. (2025). patrick: Parameterized Unit Testing (Version 0.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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