Repository navigation
geom_text() drops rows with angle = NA - #5162
Conversation
|
Tests fail on R devel due to update to the graphics engine and its interaction with vdiffr/svglite. From the R-devel/NEWS site:
|
|
Good catch. Could you bump the cache-version to clear the packages compiled with an outdated version of R? |
|
Thanks! That seems to have solved the issue. |
yutannihilation
left a comment
There was a problem hiding this comment.
Looks good! When I did a similar fix #3491 on geom_sf(), I accidentally broke some valid use cases, but I bet there's no such a downside in geom_text()'s case.
|
Thanks! I think we should be safe too; it would always throw an error and now it doesn't. |
This PR aims to fix #2757.
Briefly, it adds the angle to the non-missing aesthetics, causing the
GeomText$handle_na()method to drop these observations with missing angles.