Skip to content

Commit

Permalink
fix logo lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed May 6, 2024
1 parent b634f55 commit eba062e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Binary file modified tests/testthat/Rplots.pdf
Binary file not shown.
5 changes: 4 additions & 1 deletion tests/testthat/test-images.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eba062e

Please sign in to comment.