tests/testthat/helper-utils.R

#Provided by Lionel Henry
expect_doppelganger <- function(title, fig, path = NULL, ...) 
{
  testthat::skip_if_not_installed("vdiffr")
  vdiffr::expect_doppelganger(title, fig, path = path, ...)
}

Try the tsvr package in your browser

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

tsvr documentation built on Jan. 13, 2021, 7:37 a.m.