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

Errors loading cowplot #26

Closed
camold opened this issue Feb 22, 2016 · 3 comments
Closed

Errors loading cowplot #26

camold opened this issue Feb 22, 2016 · 3 comments

Comments

@camold
Copy link

camold commented Feb 22, 2016

Trying to load cowplot fails on R 3.2.3.

Both commands
install.packages("cowplot")
and
devtools::install_github("wilkelab/cowplot")
compile fine.

Upon loading with require(cowplot) I get the following error:
Loading required package: cowplot
Error : .onAttach failed in attachNamespace() for 'cowplot', details:
call: element_text(family = font_family, face = "plain", colour = "black",
error: unused arguments (margin = ggplot2::margin(), debug = FALSE)

@clauswilke
Copy link
Contributor

cowplot now requires ggplot 2.0. Looks like you have an old version of ggplot.

@camold
Copy link
Author

camold commented Feb 23, 2016

Thanks. Updating ggplot made it work.
Sorry for the inconveniences.

@Morpheu5
Copy link

Hey, I'm on ggplot2 2.1.0 and I get the exact same error.

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