-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi there,
We've been preparing a new major release for ggplot2 and found an issue during a reverse dependency check.
The issue is described in tidyverse/ggplot2#6498, where you're welcome to raise discussion.
The issue isn't with your packaged code, but with the unit tests found here:
gapfill/gapfill/tests/testthat/test-Image.R
Lines 5 to 11 in c4a4914
expect_equal(class(Image(ndvi)), c("gg", "ggplot")) | |
expect_equal(class(Image(ndvi[,,,1])), c("gg", "ggplot")) | |
expect_equal(class(Image(ndvi[,,1,1])), c("gg", "ggplot")) | |
expect_error(Image(ndvi[,1,1,1]), | |
"2 <= length\\(dim\\(x\\)\\) && length\\(dim\\(x\\)\\) <= 4 is not TRUE") | |
expect_equal(class(Image(unname(ndvi))), c("gg", "ggplot")) | |
expect_equal(class(Image(ndvi, zlim = c(1,2))), c("gg", "ggplot")) |
You can test your code with the development version of ggplot2 by installing it as follows:
# install.packages("pak")
pak::pak("tidyverse/ggplot2")
We aim to release the new ggplot2 version in about 2 weeks, and hope you can submit a fix to CRAN around that time. Hopefully this will inform you in a timely manner.
Best wishes,
Teun
Metadata
Metadata
Assignees
Labels
No labels