Package: tinysnapshot 0.0.6
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.6.tar.gz
tinysnapshot_0.0.6.zip(r-4.5)tinysnapshot_0.0.6.zip(r-4.4)tinysnapshot_0.0.6.zip(r-4.3)
tinysnapshot_0.0.6.tgz(r-4.4-any)tinysnapshot_0.0.6.tgz(r-4.3-any)
tinysnapshot_0.0.6.tar.gz(r-4.5-noble)tinysnapshot_0.0.6.tar.gz(r-4.4-noble)
tinysnapshot_0.0.6.tgz(r-4.4-emscripten)tinysnapshot_0.0.6.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 14 days agofrom:9f58da7cc7. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 04 2024 |
R-4.5-win | OK | Nov 04 2024 |
R-4.5-linux | OK | Nov 04 2024 |
R-4.4-win | OK | Nov 04 2024 |
R-4.4-mac | OK | Nov 04 2024 |
R-4.3-win | OK | Nov 04 2024 |
R-4.3-mac | OK | Nov 04 2024 |
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 |