File: setup.R

package info (click to toggle)
r-cran-here 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 340 kB
  • sloc: sh: 13; makefile: 2
file content (3 lines) | stat: -rw-r--r-- 152 bytes parent folder | download | duplicates (2)
1
2
3
if (basename(getwd()) == "testthat" && basename(dirname(getwd())) == "tests") {
  withr::defer(testthat::snapshot_accept(path = "."), teardown_env())
}