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

fortify.grouped_df should have a more informative error message if dplyr is not installed #2822

Closed
jimhester opened this issue Aug 10, 2018 · 1 comment

Comments

@jimhester
Copy link
Member

@jimhester jimhester commented Aug 10, 2018

The current behavior just gives you a very uninformative error message, particularly because it references dplyr when you may not even be using dplyr in your code! e.g. https://travis-ci.org/adamhsparks/theme.usq/builds/414441396#L3184

# remove.packages("dplyr")
library(ggplot2)
p6 <- ggplot(economics_long) +
  aes(date, value01, colour = variable) +
  geom_line()
#> Error in loadNamespace(name): there is no package called 'dplyr'

Created on 2018-08-10 by the reprex package (v0.2.0).

@lock
Copy link

@lock lock bot commented Feb 6, 2019

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Feb 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant