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

plyr dependency masks dplyr functions #51

Open
barnabywalker opened this issue Jan 14, 2019 · 2 comments
Open

plyr dependency masks dplyr functions #51

barnabywalker opened this issue Jan 14, 2019 · 2 comments

Comments

@barnabywalker
Copy link

The dependency on plyr means that ggbiplot masks functions from dplyr. This isn't too much of a problem if loading the package using library(ggbiplot), as I can just reorder my imports, but ggbiplot also loads all of plyr if you use the ggbiplot::ggbiplot() syntax.

So currently there is no way of preventing ggbiplot from masking dplyr functions without ensuring that you explicitly import ggbiplot first.

Is there some way of changing how ggbiplot uses the functions from plyr to prevent it being fully loaded when you use the ggbiplot::ggbiplot() syntax?

@trickytank
Copy link

trickytank commented Jul 12, 2019

I suggest you use the fork by @miraKlein. Her pull request fixes this.

As this vqv/ggbiplot repository is no longer maintained, the fix hasn't been pulled.

Install @miraKlein's version with:

devtools::install_github("miraKlein/ggbiplot")

@barnabywalker
Copy link
Author

Thanks, that works perfectly!

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

2 participants