Package: tinysnapshot 0.0.8
tinysnapshot: Snapshots for Unit Tests using the 'tinytest' Framework
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().
Authors:
tinysnapshot_0.0.8.tar.gz
tinysnapshot_0.0.8.zip(r-4.5)tinysnapshot_0.0.8.zip(r-4.4)tinysnapshot_0.0.8.zip(r-4.3)
tinysnapshot_0.0.8.tgz(r-4.5-any)tinysnapshot_0.0.8.tgz(r-4.4-any)tinysnapshot_0.0.8.tgz(r-4.3-any)
tinysnapshot_0.0.8.tar.gz(r-4.5-noble)tinysnapshot_0.0.8.tar.gz(r-4.4-noble)
tinysnapshot_0.0.8.tgz(r-4.4-emscripten)tinysnapshot_0.0.8.tgz(r-4.3-emscripten)
tinysnapshot.pdf |tinysnapshot.html✨
tinysnapshot/json (API)
NEWS
# Install 'tinysnapshot' in R: |
install.packages('tinysnapshot', repos = c('https://vincentarelbundock.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/vincentarelbundock/tinysnapshot/issues
Last updated 30 days agofrom:8a3ae16f43. Checks:8 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Feb 20 2025 |
R-4.5-win | OK | Feb 20 2025 |
R-4.5-mac | OK | Feb 20 2025 |
R-4.5-linux | OK | Feb 20 2025 |
R-4.4-win | OK | Feb 20 2025 |
R-4.4-mac | OK | Feb 20 2025 |
R-4.3-win | OK | Feb 20 2025 |
R-4.3-mac | OK | Feb 20 2025 |
Exports:expect_equivalent_imagesexpect_snapshot_plotexpect_snapshot_print
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Snapshots for Unit Tests using the 'tinytest' Framework | tinysnapshot-package tinysnapshot |
Test if two image files are equivalent | expect_equivalent_images |
Test if the new plot matches a target (snapshot) plot | expect_snapshot_plot |
Test if printed output matches a target printout | expect_snapshot_print |