tests/testthat/test_geoms_image.R

# Visual tests ------------------------------------------------------------
test_that("geom_image", {
  expect_doppelganger("image",
                      ggplot(test_images_reference) + geom_chronochRtImage(aes(y = year, x = position, image_path = image_path))
  )
})

Try the chronochrt package in your browser

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

chronochrt documentation built on May 29, 2024, 8:10 a.m.