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
The reason the constructor call is kept is for the use in error messaging, so in the case you point out the stripped call would be more informative. Happy to review a PR!
Uh oh!
There was an error while loading. Please reload this page.
This is a classic
srcref
problem affecting readability when printing$constructor
to consoleA simple fix would be to apply this one-liner where the constructor property is resolved in
layer()
:ggplot2/R/layer.R
Line 183 in 7fb5760
Stripping the srcref of
fr_call
above would naturally resolve one other case where this happens (inlayer_sf()
, since it gets forwarded tolayer()
)ggplot2/R/layer-sf.R
Lines 25 to 28 in 7fb5760
If that seems reasonable, I can file a PR! :)
The text was updated successfully, but these errors were encountered: