Closed teunbrand closed 6 months ago
@thomasp85: It would be absolutely awesome if that could be merged. Thanks for the good work here!
cc @hadley could you please help to get this PR over the line? it's having a lot of effect on downstream packages that like to run tests under strict rules for partial matching
@MichaelChirico it seems like mere invocation of my name was sufficient 😆
Thanks a lot, @thomasp85!
This PR aims to fix https://github.com/tidyverse/ggplot2/issues/5654.
Briefly, when a viewport is provided to
gtable()
, it is reconstituted but thejustification
field is extracted via$just
. This PR changes this to$justification
, avoiding the partial match.The reprex from https://github.com/tidyverse/ggplot2/issues/5654#issuecomment-1902198119 now does not throw an error:
Created on 2024-01-23 with reprex v2.1.0