We are preparing the next version of ggplot2 and our tests show that ggprism is having issues with it. Specifically we now store the computed params in computed_geom_params and computed_stat_params. This means that these are the field you should be expecting in your tests if you feel it necessary to peek into the ggplot object.
Thanks for the heads up 😄
Should be easy enough to write some alternative tests that don't require peeking into params, which will work with the current and next version of ggplot2.
Hi
We are preparing the next version of ggplot2 and our tests show that ggprism is having issues with it. Specifically we now store the computed params in
computed_geom_params
andcomputed_stat_params
. This means that these are the field you should be expecting in your tests if you feel it necessary to peek into the ggplot object.The failing tests are:
where you should look at
g1$layers[[2]]$computed_geom_params$colour
insteadwe plan to release the next version of ggplot2 on May 31st