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, ...)
}
haiderstats/MTLR documentation built on Dec. 16, 2020, 3:39 p.m.