Skip to content

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