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

Warning produced when using geom_blank() with another geom #1451

Closed
zlskidmore opened this issue Dec 24, 2015 · 1 comment
Closed

Warning produced when using geom_blank() with another geom #1451

zlskidmore opened this issue Dec 24, 2015 · 1 comment
Labels
Milestone

Comments

@zlskidmore
Copy link

@zlskidmore zlskidmore commented Dec 24, 2015

Hi,

After updating ggplot2 I now get the following warning when I add "geom_blank" on other geoms, for example:

ggplot() + geom_bar(data=mtcars, aes(x=cyl, y=hp), stat="identity") + geom_blank()

will produce this warning:

Warning message:
In max(vapply(evaled, length, integer(1))) :
  no non-missing arguments to max; returning -Inf

Any ideas what this is referring to?

@hadley
Copy link
Member

@hadley hadley commented Jan 26, 2016

Simpler reprex:

ggplot()
@hadley hadley added the bug label Jan 26, 2016
@hadley hadley added this to the v2.1.0 milestone Jan 26, 2016
@hadley hadley closed this in 1875bb8 Jan 26, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants