R/vdiffr.R

Defines functions wrapped_expect_doppelganger

# to satisfy CRAN checks about conditional use of suggested packages
# code suggested by Lionel Henry

# Check for vdiffr before using it
#

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

Try the ggformula package in your browser

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

ggformula documentation built on Nov. 9, 2023, 5:08 p.m.