tests/testthat/helper-vdiffr.R

expect_doppelganger <- function(title, fig, ...) {
  testthat::skip_on_ci()
  testthat::skip_if_not_installed("vdiffr")
  testthat::skip_if_not(ggplot2_version() >= "3.3.6.9000")
  vdiffr::expect_doppelganger(title, fig, ...)
}

Try the ggdag package in your browser

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

ggdag documentation built on Sept. 11, 2024, 6:12 p.m.