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
One of the big ones for this is render_axis() from ggplot2, which is used to render the ticks and axis line in coord_geo(); however, it seems to be a black hole of other unexported functions. Maybe @paleolimbot or @thomasp85 would have suggestions. I'm still learning the various parts of the ggplot2 API, so definitely let me know if I'm just missing something obvious.
The best is of course to not use any unexported functions at all. However, the lesser evil of using unexported functions is to wrap it in a function like so:
You can perhaps avoid this altogether by first calling the parent function of the Coord and then selectively alter the return value - something like this (untested)
New guidelines recommend to not use ::: or getFromNamespace: https://www.tidyverse.org/blog/2022/09/playing-on-the-same-team-as-your-dependecy/. I've already fixed the ones that caused issues for ggplot2 version 3.4.0, but the rest should be fixed to prevent future issues.
The text was updated successfully, but these errors were encountered: