Snapshots for Unit Tests using the 'tinytest' Framework
Overview
Snapshots for unit tests using the 'tinytest' framework for R. Includes expectations to test base R and 'ggplot2' plots as well as console output from print().
expect_snapshot_plot()no longer skips tests undercovr(detected via theR_COVRenvironment variable), so code exercised by snapshot tests is now counted in coverage reports. Thanks to @katrinabrock for the report (#29).expect_snapshot_plot()now emits a message when a test is skipped, instead of skipping silently. Thanks to @katrinabrock for the report (#29).expect_snapshot_plot()gains athemeargument so callers can override or remove the automatic application ofggplot2::theme_test().expect_snapshot_print()andexpect_snapshot_plot()gain aninfoargument to pass user-supplied context through to thetinytestresult, shown when a diff occurs. Thanks to @katrinabrock for the feature request (#30).
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
- 4includes a package overview page
- Examples that run
- no examples
- Exported functions with examples
- 0%
- Documented parameters
- 84%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 91%
- Median days to close, 50 most recently updated closed issues
- 4
- 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
Commits over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/vincentarelbundock/tinysnapshot on 2026-10-11.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2023-04-01
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-07-18Named in .Rbuildignore: CLAUDE.mdCommits: at least 1 crediting it in the message
- Claude Fable 51 commit · Aug 2026
Dependencies
Installing tinysnapshot adds 7 packages (5 with compiled code, 8.2 MB of source tarballs). Heaviest: magick 4.4 MB, Rcpp 1.8 MB, curl 714 KB.
Show all 19 packagesHide all 19 packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.3.0Latest
- RR 4.6.0 released · 2026-04-24
- 0.2.02025-07-18 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.1.02025-03-16 · diff ↗
- 0.0.82025-01-21 · diff ↗
- 0.0.72025-01-13 · diff ↗
- 0.0.62024-08-23 · diff ↗
- 0.0.52024-05-01 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.0.42024-02-20 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.0.32023-04-11 · diff ↗
- 0.0.22023-03-31 · diff ↗
- 0.0.12023-03-28
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-03-28
- Total releases
- 11 / 3 yrs
- License
- GPL (>= 3) OSI
- Download size
- 95 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tinysnapshot")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-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.