Skip to content

Compatibility with ggplot2 4.0.0 - #28

Open
teunbrand wants to merge 2 commits into
erocoar:masterfrom
teunbrand:compat_ggplot2_400
Open

teunbrand wants to merge 2 commits into
erocoar:masterfrom
teunbrand:compat_ggplot2_400

Conversation

@teunbrand

Copy link
Copy Markdown

Hi there,

We've been preparing a new major release for ggplot2 and found an issue during a reverse dependency check.
The issue was a missing layout argument to Position$compute_layer(), and this PR works around that problem for PositionJitter.

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 an update to CRAN around that time. Hopefully this will inform you in a timely manner.

Best wishes,
Teun

@teunbrand

Copy link
Copy Markdown
Author

This is just a simple reminder.

mjz1 added a commit to mjz1/gghalves that referenced this pull request May 27, 2026
On ggplot2 4.x, PositionJitter() gained an incompatible
'layout' argument. Avoid calling compute_layer() for PositionJitter on
ggplot2 4.x and fall back to compute_panel() instead.

Bump version to 0.1.5.

Ref: erocoar#28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant