removeVdiffrNewSnapShots {FastUtils} | R Documentation |
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.
removeVdiffrNewSnapShots(
pkg = getwd(),
snapDir = file.path("tests", "testthat", "_snaps"),
verbose = TRUE
)
rmns(
pkg = getwd(),
snapDir = file.path("tests", "testthat", "_snaps"),
verbose = TRUE
)
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 |
NULL (invisible) - used for side effects
removeVdiffrNewSnapShots()