Package: tinysnapshot 0.2.0.3
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.2.0.3.tar.gz
tinysnapshot_0.2.0.3.zip(r-4.7)tinysnapshot_0.2.0.3.zip(r-4.6)tinysnapshot_0.2.0.3.zip(r-4.5)
tinysnapshot_0.2.0.3.tgz(r-4.6-any)tinysnapshot_0.2.0.3.tgz(r-4.5-any)
tinysnapshot_0.2.0.3.tar.gz(r-4.7-any)tinysnapshot_0.2.0.3.tar.gz(r-4.6-any)
tinysnapshot_0.2.0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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 from:cdbee4c104. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 127 | ||
| source / vignettes | OK | 173 | ||
| linux-release-x86_64 | OK | 114 | ||
| macos-release-arm64 | OK | 91 | ||
| macos-oldrel-arm64 | OK | 94 | ||
| windows-devel | OK | 90 | ||
| windows-release | OK | 83 | ||
| windows-oldrel | OK | 79 | ||
| wasm-release | OK | 114 |
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 |
