You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Evidently, in this example I could have made better checks on the number of rows. Or if I want to go for a similar look I should use the patchwork::plot_spacer() function.
However, I do not have these luxuries when I use ggforce::facet_wrap_paginate and thus the problem persists.
ltuijnder
changed the title
Patchwork crashes when combining plots with empty facet rows (ggforce)
Patchwork crashes when combining plots with empty facet rows and/or columns (ggforce)
Aug 31, 2021
ltuijnder
changed the title
Patchwork crashes when combining plots with empty facet rows and/or columns (ggforce)
Patchwork crashes when combining plots with empty facet rows and/or columns
Aug 31, 2021
Thanks for the amazing package! I really like it but I have encountered a bug the other day.
Below I give you a minimal example:
Combining figures that have an empty facet row results in a crash.
One can create a facet with an empty row using the
ggforce::facet_wrap_paginate
function. As shown in the minimal example below:Created on 2021-08-23 by the reprex package (v2.0.1)
Package versions:
ggforce_0.3.3
patchwork_1.1.1
ggplot2_3.3.5
Other pages with fully or partially filled rows do not crash.
The text was updated successfully, but these errors were encountered: