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/cowplot documentation built on Jan. 28, 2024, 11:19 a.m.