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, ...)
}

Try the moderndive package in your browser

Any scripts or data that you put into this service are public.

moderndive documentation built on June 30, 2024, 9:06 a.m.