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
Somewhat contrived example but able to solve real issues in gganimate:
data<-data.frame(test=1:3, x=0, y=0)
ggplot(data, aes(x=x, y=y)) +
geom_text(aes(label=stage(test, after_scale= format(label, digits=3))))
# Error in `geom_text()`:# ! Problem while mapping stat to aesthetics.# ℹ Error occurred in the 1st layer.# Caused by error in `stage()`:# ! object 'test' not found
This surprisingly happens while looking for a default scale for label in layer$map_statistic()