Closed moiSch closed 3 years ago
I'm having the same issue. Any suggestions on how to fix this?
Thanks for catching this. I've already fixed this in ggformula (https://github.com/ProjectMOSAIC/ggformula/issues/151)
Another solution that doesn't require updating ggformula is to use geom = 'bar'
rather than kind = 'histogram'
. But that isn't the preferred solution long term.
The snippet will work again once ggformula has been updated (for now to the github version, eventually to a new CRAN version).
I updated the three packages listed above and ran into error messages with snippet(“gf-dist”). In particular, the third of these reports an error because of a missing aesthetic in gf_dist(“binom”, params = list(size = 4, prob = 0.5), kind = “histogram”, binwidth = 1) Problem eliminated on my MacBook only after restoring the Library from a prior incarnation on backup. Sorry I cannot be more specific. It took a long time to figure out which Library contained the former package state.