diff --git a/tests/testthat/Rplots.pdf b/tests/testthat/Rplots.pdf index 15f81a6..e7b0c2e 100644 Binary files a/tests/testthat/Rplots.pdf and b/tests/testthat/Rplots.pdf differ diff --git a/tests/testthat/test-images.R b/tests/testthat/test-images.R index b734678..3fa8930 100644 --- a/tests/testthat/test-images.R +++ b/tests/testthat/test-images.R @@ -2,7 +2,10 @@ test_that("images are picked up", { skip_if_not(getRversion() >= "4.1") - logo <- system.file("help", "figures", "logo.png", package = "marquee") + # Depending on how we are testing the logo may reside in one of these locations + logo <- system.file("man", "figures", "logo.png", package = "marquee") + if (logo == "") logo <- system.file("help", "figures", "logo.png", package = "marquee") + grob <- textGrob("test") gg <- ggplot2::ggplot() patch <- patchwork::wrap_plots(gg, gg)