Skip to content

Testing ggplot classes #210

@teunbrand

Description

@teunbrand

Hi Claus,

We've been reimplenting ggplot2's S3 classes as S7 classes and unfortunately, this affects one test in cowplot. Happy to send along a PR if that is quicker for you.
The issue is described in tidyverse/ggplot2#6498, where you're welcome to raise discussion.
The issue isn't with your packaged code, but with the unit tests found here:

expect_equal(methods::is(g), "gg")

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 it would be great if we didn't break cowplot. Hopefully this will inform you in a timely manner.

Best wishes,
Teun

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions