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
During some R sessions I am unable to plot analytical distributions using stat_halfeye, which results in the following error on the example in the stat_halfeye documentation. I wonder if it is clashing with some other package, since I am able to run it in a clean R session with only tidyverse and ggdist loaded.
Error in `layer_slabinterval()`:
! Problem while computing aesthetics.
ℹ Error occurred in the 1st layer.
Caused by error in `check_aesthetics()`:
! Aesthetics must be either length 1 or the same as the data (3).
✖ Fix the following mappings: `xdist`.
Backtrace:
1. base (local) `<fn>`(x)
2. ggplot2:::print.ggplot(x)
4. ggplot2:::ggplot_build.ggplot(x)
5. ggplot2:::by_layer(...)
12. ggplot2 (local) f(l = layers[[i]], d = data[[i]])
13. l$compute_aesthetics(d, plot)
14. ggdist (local) compute_aesthetics(..., self = self)
15. ggproto_parent(l, self)$compute_aesthetics(data, plot)
16. ggplot2 (local) compute_aesthetics(..., self = self)
17. ggplot2:::check_aesthetics(evaled, n)
During some R sessions I am unable to plot analytical distributions using stat_halfeye, which results in the following error on the example in the stat_halfeye documentation. I wonder if it is clashing with some other package, since I am able to run it in a clean R session with only tidyverse and ggdist loaded.
Session info:
The text was updated successfully, but these errors were encountered: