Skip to content

Be more conservative in throwing scale training error #5649

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 18, 2024

Conversation

teunbrand
Copy link
Collaborator

This PR to the RC aims to fix a bug found in reverse dependency checks.

Briefly, people can implement custom versions of the scales::ContinuousRange and scales::DiscreteRange classes.
We should only throw errors if the range object is of the expected class.

@teunbrand teunbrand added this to the ggplot2 3.5.0 milestone Jan 17, 2024
@teunbrand teunbrand changed the base branch from main to rc/3.5.0 January 17, 2024 13:25
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 61f9a0a into tidyverse:rc/3.5.0 Jan 18, 2024
@teunbrand teunbrand deleted the scale_train_range_errors branch January 18, 2024 07:21
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