Skip to content

expect_s3_class Test Unexpectedly Still Holds True #6737

@DarioS

Description

@DarioS

Using ggplot2 4.0.0, a check for S3 class still passes. Isn't it S7 nowadays?

library(ggplot2)
p <- ggplot(mtcars, aes(wt, mpg))
show_failure(expect_s3_class(p, "ggplot")) # Nothing.

Breaking Changes
The S3 parts of ggplot2 have been replaced with S7 bits.

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