Testing for R Packages with Multiple Attempts for Noisy Tests
Overview
Runs tests using the 'testthat' package but allows for multiple attempts for a single test. This is useful for noisy or flaky tests that generally pass but can fail due to occasional random errors, such as numeric instability or using random data.
- Added ttm_expect_error() and ttm_expect_no_error()
- Fixed when referring to outside variables
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 7
- Examples that run
- 100%7 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 309
Stars over time
Releases over time
PRs over time
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/collinerickson/testthatmulti on 2026-10-22.
The R CMD check workflow runs on Linux
Show all practicesHide 1 practice
Dependencies
Installing testthatmulti adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.0Latest2025-08-25 · current release · diff ↗ ·
added 4 exports
ttm_expect_error, ttm_expect_no_error, ttm_i, ttm_n - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.1.02024-02-05
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-02-05
- Total releases
- 2 / 2 yrs
- License
- GPL (>= 3) OSI
- Download size
- 7.0 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("testthatmulti")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-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.