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, ...)
}
wilkelab/gridtext documentation built on March 4, 2024, 5:55 p.m.