Skip to content
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

Scale call check #5443

Merged
merged 2 commits into from
Oct 2, 2023
Merged

Scale call check #5443

merged 2 commits into from
Oct 2, 2023

Conversation

teunbrand
Copy link
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.

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 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