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, ...)
}
clauswilke/ggtext documentation built on Sept. 21, 2022, 10:36 a.m.