Skip to content

Testing ggplot class #29

@teunbrand

Description

@teunbrand

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:

test_that("Outputs are as expected", {
my_plot <- dndR::probability_plot(dice = "2d8", roll_num = 10)
expect_equal(class(my_plot), c("gg", "ggplot"))
})

Potentially, other tests may be affected as well.
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

bugSomething isn't working

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions