Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with updated fastR2 and or updated ggplot2/ggformula #13

Closed
moiSch opened this issue May 17, 2021 · 2 comments
Closed

Problems with updated fastR2 and or updated ggplot2/ggformula #13

moiSch opened this issue May 17, 2021 · 2 comments

Comments

@moiSch
Copy link

moiSch commented May 17, 2021

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.

@grover4
Copy link

grover4 commented Oct 11, 2021

I'm having the same issue. Any suggestions on how to fix this?

@rpruim
Copy link
Owner

rpruim commented Oct 12, 2021

Thanks for catching this. I've already fixed this in ggformula (ProjectMOSAIC/ggformula#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).

@rpruim rpruim closed this as completed Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants