tests/testthat/helper-vdiffr.R

expect_doppelganger <- function(title, fig, path = NULL, ...) {
  testthat::skip_if_not_installed("vdiffr")
  vdiffr::expect_doppelganger(title, fig, path = path, ...)
}
uribo/jpmesh documentation built on Feb. 21, 2023, 3:20 p.m.