removeVdiffrNewSnapShots {FastUtils} | R Documentation |
Remove New Snapshots from vdiffr Tests
Description
This function removes new snapshots created by vdiffr
tests. It is useful
when you want to remove new snapshots that were created during testing and
are no longer needed.
Usage
removeVdiffrNewSnapShots(
pkg = getwd(),
snapDir = file.path("tests", "testthat", "_snaps"),
verbose = TRUE
)
rmns(
pkg = getwd(),
snapDir = file.path("tests", "testthat", "_snaps"),
verbose = TRUE
)
Arguments
pkg |
The path to the package directory. |
snapDir |
The path to the directory containing the snapshots. Default
is |
verbose |
Logical; if TRUE, prints the paths of the new snapshots that |
Value
NULL (invisible) - used for side effects
Examples
removeVdiffrNewSnapShots()
[Package FastUtils version 0.2.1 Index]