Skip to content

Put deprecated trans last in dup_axis() - #5635

Merged
teunbrand merged 1 commit into
tidyverse:rc/3.5.0from
teunbrand:dup_axis_arg_order
Jan 12, 2024
Merged

teunbrand merged 1 commit into
tidyverse:rc/3.5.0from
teunbrand:dup_axis_arg_order

Conversation

@teunbrand

Copy link
Copy Markdown
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

@thomasp85 thomasp85 left a comment

Copy link
Copy Markdown
Member

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