snapr: Convenient Snapshot Testing Functions for Packages

Provides convenient snapshot testing functions for packages, including expect_snapshot_data() for data.frames and expect_snapshot_object() for any R object.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: dplyr, jsonlite, readr, testthat, tidyselect, tools, waldo
Suggests: altdoc, bslib, knitr, quarto, rmarkdown, spelling, withr
Published: 2026-05-22
DOI: 10.32614/CRAN.package.snapr (may not be active yet)
Author: Douglas Ezra Morrison [aut, cre]
Maintainer: Douglas Ezra Morrison <demorrison at ucdavis.edu>
BugReports: https://github.com/d-morrison/snapr/issues
License: MIT + file LICENSE
URL: https://github.com/d-morrison/snapr, https://d-morrison.github.io/snapr/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: snapr results

Documentation:

Reference manual: snapr.html , snapr.pdf
Vignettes: Getting Started with snapr (source)

Downloads:

Package source: snapr_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: snapr_0.1.0.zip, r-oldrel: not available
macOS binaries: r-release (arm64): snapr_0.1.0.tgz, r-oldrel (arm64): snapr_0.1.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=snapr to link to this page.