Package: tinysnapshot 0.2.0.4
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.4.tar.gz
tinysnapshot_0.2.0.4.zip(r-4.7-any)tinysnapshot_0.2.0.4.zip(r-4.6-any)tinysnapshot_0.2.0.4.zip(r-4.5-any)
tinysnapshot_0.2.0.4.tgz(r-4.6-any)tinysnapshot_0.2.0.4.tgz(r-4.5-any)
tinysnapshot_0.2.0.4.tar.gz(r-4.7-any)tinysnapshot_0.2.0.4.tar.gz(r-4.6-any)
tinysnapshot_0.2.0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
tinysnapshot/json (API)
| # 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:db05f8f323. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 115 | ||
| source / vignettes | OK | 262 | ||
| linux-release | OK | 105 | ||
| macos-release | OK | 88 | ||
| macos-oldrel | OK | 105 | ||
| windows-devel | OK | 65 | ||
| windows-release | OK | 64 | ||
| windows-oldrel | OK | 92 | ||
| wasm-release | OK | 100 |
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 |
