thomasp85 / patchwork

The Composer of ggplots
https://patchwork.data-imaginist.com
Other
2.42k stars 157 forks source link

Doesn't work with ggplot2 v3.5.0 #355

Closed mariadelmarq closed 3 months ago

mariadelmarq commented 3 months ago

I've updated to ggplot2 v3.5.0, which has a few breaking changes. Patchwork no longer seems to work, anything I do results in the error:

Error in Ops.data.frame(guide_loc, panel_loc) : 
  ‘==’ only defined for equally-sized data frames
thomasp85 commented 3 months ago

You need to update patchwork as well

mariadelmarq commented 3 months ago

Duh! I'm SO sorry about that, I assumed the breaking changes had been made after the latest update to patchwork (2 months ago). Thanks heaps!

thomasp85 commented 3 months ago

no problem :-)