Skip to content

tinysnapshot

0.3.0Package record

Snapshots for Unit Tests using the 'tinytest' Framework

1packages dependsuggested by 18
59.2Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

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().

Changes in 0.3.0
  • expect_snapshot_plot() no longer skips tests under covr (detected via the R_COVR environment 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 a theme argument so callers can override or remove the automatic application of ggplot2::theme_test().
  • expect_snapshot_print() and expect_snapshot_plot() gain an info argument to pass user-supplied context through to the tinytest result, shown when a diff occurs. Thanks to @katrinabrock for the feature request (#30).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 49 s · r-release-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 851 wordsVignettesNoNEWSYes · 100% structured · mentions 0.3.0Citation fileNo
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

59.2K
CRAN downloads in the past year
Rank #1,871 · ~162/day · ~4.9K/mo
Daily download trend is not available in this view yet.
3.3K30 days
10.5K90 days
59.2K1 year
Compare downloads with other packages →
Also on3.4K r2u5 autocran2K conda_forge

Repository

18Stars
4Forks
2Open issues
1Open PRs
1Releases
173Commits
4Commit identities
173 commits · Last activity 2026-08-15 · 0% stars, 30d · The default branch showed an older version (0.2.0.4) than CRAN on 2026-10-11
Responsiveness
How these are sampled
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

2025-06-18 · 172026-07-07 · 18
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Docs source (2)
pkgdown

GitHub Pages site last deployed 2023-04-01

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-07-18
    Named in .Rbuildignore: CLAUDE.md
    Commits: at least 1 crediting it in the message
Models named in its commits
  • Claude Fable 51 commit · Aug 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

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.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 18
Show all 19 packagesHide all 19 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.0.1 (2023)
Releases (11)

Pick two releases to compare their code metrics.

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")
Arel-Bundock, V. (2026). tinysnapshot: Snapshots for Unit Tests using the 'tinytest' Framework (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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