-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unserialization of wrap_plots loses plots #242
Comments
Actually, the following shows both plots: library(patchwork)
readRDS("test.rds") which shouldn't be necessary. |
why shouldn't it be necessary to have patchwork attached when displaying a patchwork plot? |
Attaching ggplot2 is not needed, so I would expect the same for patchwork. |
The reason why it works in ggplot2 is a weird side effect of ggplot objects including a reference to the ggplot2 namespace deep inside the scales list. It was quite surprising as method dispatch in R in general doesn't work without the package loaded I can probably try to emulate it in patchwork to cheat the classic R mechanics |
Steps to reproduce:
Is this expected behaviour?
The text was updated successfully, but these errors were encountered: