Skip to content

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

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

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
bug an unexpected problem or unintended behavior
Milestone

Comments

@zlskidmore
Copy link

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 commented Jan 26, 2016

Simpler reprex:

ggplot()

@hadley hadley added the bug an unexpected problem or unintended behavior label Jan 26, 2016
@hadley hadley added this to the v2.1.0 milestone Jan 26, 2016
@hadley hadley closed this as completed 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
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants