tests/testthat/helper-utils.R

expect_doppelganger <- function(title, fig, path = NULL, ...) {
  testthat::skip_if_not_installed("vdiffr")
  vdiffr::expect_doppelganger(title, fig, path = path, ...)
}
moderndive/moderndive documentation built on April 22, 2024, 5:31 p.m.