Skip to content

Commit

Permalink
forgot to add
Browse files Browse the repository at this point in the history
  • Loading branch information
clauswilke committed Dec 10, 2020
1 parent 519eea2 commit 0237bd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/helper-vdiffr.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
expect_doppelganger <- function(title, fig, path = NULL, ...) {
testthat::skip_if_not_installed("vdiffr")
vdiffr::expect_doppelganger(title, fig, path = path, ...)
}

0 comments on commit 0237bd5

Please sign in to comment.