ggprism icon indicating copy to clipboard operation
ggprism copied to clipboard

Guide compatability with ggplot2 >3.4.2

Open teunbrand opened this issue 1 year ago • 3 comments

Hi Charlotte,

Apologies for the cold PR without filing an issue first. The ggplot2 package has changed the implementation of the guide system, which means that the old S3 will no longer work in ggplot2, see the news file. Because this change isn't fully backwards compatible, guides, including those in ggprism, have broken.

This PR lifts over the old S3 methods for axis drawing so that ggprism can work with the development version of ggplot2. Tests mostly* run fine in either current CRAN or development version.

* see comments

Best, Teun

teunbrand avatar Jul 02 '23 13:07 teunbrand