Closed lucavd closed 11 months ago
Hi @thomasp85 ,
I think there's a bug (maybe related to #217).
library(ggplot2) library(patchwork) p1 = ggplot(mtcars, aes(x = factor(cyl), y = mpg)) + geom_violin() p2 = ggplot(mtcars, aes(x = factor(cyl), y = mpg)) + geom_boxplot() p = p1 + p2 str(p, max.level = 1)
But
> View(p) Error: Index out of bounds
I tried on different machines and different OS (even server) and different RStudio versions. Same error patchwork version 1.1.2 from CRAN
patchwork
I get
Error in as.data.frame.default(x) : cannot coerce class ‘c("patchwork", "gg", "ggplot")’ to a data.frame
:shrug:
Hi @thomasp85 ,
I think there's a bug (maybe related to #217).
But
I tried on different machines and different OS (even server) and different RStudio versions. Same error
patchwork
version 1.1.2 from CRAN