We have been preparing a new release of ggplot2 and during a reverse dependency check, it became apparent that the prospective ggplot2 3.5.0 would break platetools.
Briefly, a few tests expected ggplot objects to satisfy some length and name criterions that no longer hold in the new version. In this PR, these are updated to be aligned with whatever ggplot() returns, which works for both the old and new versions.
To test the code changes with the release candidate, you can install it with the code below:
The release of ggplot2 3.5.0 is scheduled for the 12th of February. The progress of the release can be tracked in https://github.com/tidyverse/ggplot2/issues/5588. We hope that this PR might help platetools get out a fix if necessary.
Hello there,
We have been preparing a new release of ggplot2 and during a reverse dependency check, it became apparent that the prospective ggplot2 3.5.0 would break platetools.
Briefly, a few tests expected ggplot objects to satisfy some length and name criterions that no longer hold in the new version. In this PR, these are updated to be aligned with whatever
ggplot()
returns, which works for both the old and new versions.To test the code changes with the release candidate, you can install it with the code below:
The release of ggplot2 3.5.0 is scheduled for the 12th of February. The progress of the release can be tracked in https://github.com/tidyverse/ggplot2/issues/5588. We hope that this PR might help platetools get out a fix if necessary.