Skip to content

Fix reverse dependency issue with scale na.value #6474

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
May 23, 2025

Conversation

teunbrand
Copy link
Collaborator

@teunbrand teunbrand commented May 22, 2025

This aims to fix a problem identified in #6469.

Briefly, using vec_c() to concatenate the palette with na.value is too strict in some cases. It was introduced in #6118.
Herein, we use regular c(), relying on vctrs:::c.vctrs_vctr to handle to vctrs case correctly.

@teunbrand teunbrand added this to the ggplot2 4.0.0 milestone May 22, 2025
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 b1c27f1 into tidyverse:main May 23, 2025
13 checks passed
@teunbrand teunbrand deleted the revdep_scale_na_value branch May 23, 2025 09:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants