Skip to content

Put deprecated trans last in dup_axis() #5635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

teunbrand
Copy link
Collaborator

This PR to the RC aims to fix a reverse dependency check issue with dup_axis().

Briefly: we renamed trans to transform, but kept the deprecated trans argument as the second argument.
Folks use position-based argument matching, so that the trans argument gets populated with what should go into the name argument. This PR restores the original order by putting the deprecated argument last.

@teunbrand teunbrand added this to the ggplot2 3.5.0 milestone Jan 8, 2024
@teunbrand teunbrand requested a review from thomasp85 January 8, 2024 15:30
Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@teunbrand teunbrand merged commit dad3573 into tidyverse:rc/3.5.0 Jan 12, 2024
@teunbrand teunbrand deleted the dup_axis_arg_order branch January 12, 2024 09:26
thomasp85 pushed a commit that referenced this pull request Feb 23, 2024
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.

2 participants