-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Description
Please look into this
library(ggplot2)
library(patchwork)
#> Warning: package 'patchwork' was built under R version 4.4.3
#> Error: package or namespace load failed for 'patchwork':
#> object 'is_ggplot' is not exported by 'namespace:ggplot2'
p1 <- ggplot(mtcars) + geom_point(aes(mpg, disp))
p2 <- ggplot(mtcars) + geom_boxplot(aes(gear, disp, group = gear))
p1 + p2
#> Error in `ggplot_add()`:
#> ! Can't add `p2` to a <ggplot> object.Created on 2025-10-22 with reprex v2.1.1
Metadata
Metadata
Assignees
Labels
No labels