Skip to content

Patchwork doesn't work with ggplot 3.4.4.9000 #342

@Ari04T

Description

@Ari04T

As stated in the title. With ggplot 3.4.4 patchwork works just fine, but with the developmental version 3.4.4.9000 I get the following error

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

library(ggplot2)
library(patchwork)

p1 <- ggplot(mtcars) + geom_point(aes(mpg, disp))
p2 <- ggplot(mtcars) + geom_boxplot(aes(gear, disp, group = gear))

p1 + p2

Error in Ops.data.frame(guide_loc, panel_loc) :==only defined for equally-sized data frames

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