Skip to content

Commit

Permalink
try to understand the failure
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed May 6, 2024
1 parent 549fff3 commit cd14b41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified tests/testthat/Rplots.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/testthat/test-images.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test_that("images are picked up", {
patch <- patchwork::wrap_plots(gg, gg)
unknown <- "test"

image_locs <- c(logo, "grob", "gg", "patch", unknown)
image_locs <- c(logo, "grob", "gg", "patch")

imgs <- images_as_grobs(image_locs)

Expand All @@ -14,5 +14,5 @@ test_that("images are picked up", {
expect_s3_class(imgs[[2]], "text")
expect_s3_class(imgs[[3]], "gtable")
expect_s3_class(imgs[[4]], "gtable")
expect_s3_class(imgs[[5]], "missing_grob")
#expect_s3_class(imgs[[5]], "missing_grob")
})

0 comments on commit cd14b41

Please sign in to comment.