Skip to content

Be more conservative in throwing scale training error - #5649

Merged
teunbrand merged 1 commit into
tidyverse:rc/3.5.0from
teunbrand:scale_train_range_errors
Jan 18, 2024
Merged

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

Conversation

@teunbrand

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

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