-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Regression: geom_sf() is now too aggressive in removing rows #3536
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
Comments
Opps..., I think your analysis is correct. Sorry for the regression. Then, we probably need to define a |
It seems to me that the true, real, underlying issue is that grid is overly conservative with checking input and doesn't gracefully degrade with missing or @thomasp85 Any chance that we can get grid to be more tolerant to missing input, so we don't have to constantly code circles around grid's limitations? Just one of many such examples: library(grid)
grid.points(numeric(0), numeric(0))
#> Error in unit(x, default.units): 'x' and 'units' must have length > 0 Created on 2019-09-22 by the reprex package (v0.3.0) |
I won’t rule that out but the call is ultimately Paul’s — I’ll talk with him about it |
#3537 is an attempt to fix this. But, I think I don't figure out what to do when the data is of mixed types of geometries. Any ideas...? (edit: Sorry, I misunderstood about the process of when missing values are removed) |
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/ |
I just encountered this problem where
geom_sf()
removes polygons that are plotted without outline. This is a regression in current ggplot2 master. I assume it's due to #3491.cc @yutannihilation
Created on 2019-09-22 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: