Why do a lot of ggplot2 extensions not export the ggproto objects behind their functions?

I've noticed that a lot of ggplot2 extensions do not export the ggproto objects behind their geom_* and stat_* functions. Why might this be?

I would assume its the same principle as in general package development, that you export the functions that you invite your users to use, and that you are open to fielding issues and bug reports about; and internal functions intended for developers are tucked away unexported.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.