Skip to content

Translation of NA from palette #7

@teunbrand

Description

@teunbrand

Hi there,

We've been preparing a new major release for ggplot2 and found an issue during a reverse dependency check.
To fix tidyverse/ggplot2#5929, we decided we no longer translate NAs coming from palettes, because they could mean to use a transparent colour.
This violates the following test assumption:

expect_warning(expect_equal(ggplot2::layer_data(p3)$fill[9], "#B5B5B5"))

You can test your code with the development version of ggplot2 by installing it as follows:

# install.packages("pak")
pak::pak("tidyverse/ggplot2")

We aim to release the new ggplot2 version in about 2 weeks, and hope you can submit a fix to CRAN around that time. Hopefully this will inform you in a timely manner.

Best wishes,
Teun

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions