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
{{ message }}
Repository navigation
Patchwork crashes when combining plots with empty facet rows and/or columns #273
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.
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)[/+]on Aug 31, 2021
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[/+]on Aug 31, 2021
Activity
ltuijnder commentedon Aug 24, 2021
After playing around I encountered an even more minimal example just using
patchworkandggplot2:Created on 2021-08-24 by the reprex package (v2.0.1)
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_paginateand thus the problem persists.ltuijnder commentedon Aug 31, 2021
It also crashes with empty columns in a very similar fashion:
Created on 2021-08-31 by the reprex package (v2.0.1)
[-]Patchwork crashes when combining plots with empty facet rows (ggforce)[/-][+]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 (ggforce)[/-][+]Patchwork crashes when combining plots with empty facet rows and/or columns[/+]Fix thomasp85#273