Skip to content

Scale call check - #5443

Merged
teunbrand merged 2 commits into
tidyverse:mainfrom
teunbrand:scale_call_check
Oct 2, 2023
Merged

teunbrand merged 2 commits into
tidyverse:mainfrom
teunbrand:scale_call_check

Conversation

@teunbrand

Copy link
Copy Markdown
Collaborator

This PR aims to fix #5436.

Briefly, instead of checking if the calling function is a scale_-prefixed function, it checks if any component of the calling function is a scale_-prefixed function. Added some test for other tricky call situations as well.

@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 fa26a55 into tidyverse:main Oct 2, 2023
@teunbrand
teunbrand deleted the scale_call_check branch October 2, 2023 08:51
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.

scale_y_continuous() fails if inside a function called via double colon pkg::fun(...)

2 participants