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, ...)
}
jumpingrivers/prettyB documentation built on Feb. 17, 2021, 7:05 p.m.