You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is bad, because we currently don't export its parent, Layer(), and we don't want to export it at this time.
The correct way to make the sf-specific layer available is to add a constructor function, layer_sf(), which replaces the layer() function for sf layers.
@clauswilke : I think you asked...I've never needed to use layer() when creating a geom_sf() layer...the only thing I've changed is the Stat passed to geom_sf().
Activity
yutannihilation commentedon Feb 22, 2019
Probably, we should not expose
layer_classargument oflayer()as well; the user cannot provide anyLayerclass as it's not exported.ggplot2/R/layer.r
Line 66 in 033fb52
paleolimbot commentedon Feb 22, 2019
@clauswilke : I think you asked...I've never needed to use
layer()when creating ageom_sf()layer...the only thing I've changed is theStatpassed togeom_sf().lock commentedon Sep 23, 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/