I love this package. I was prepping a learning resource for some students and noticed that ggscatterstats is giving me an error:
Error:
! Problem while computing aesthetics.
ℹ Error occurred in the 3rd layer.
Caused by error in scales_add_defaults():
! could not find function "scales_add_defaults"
Run rlang::last_trace() to see where the error occurred.
iris |>
ggscatterstats(x = Petal.Width, y = Sepal.Width)
I get this even when tidyverse and easystats are loaded, so I'm not sure where scales_add_defaults() is supposed to be loading from (and google is not being helpful)
Hey Indrajeet,
I love this package. I was prepping a learning resource for some students and noticed that
ggscatterstats
is giving me an error:Error: ! Problem while computing aesthetics. ℹ Error occurred in the 3rd layer. Caused by error in
scales_add_defaults()
: ! could not find function "scales_add_defaults" Runrlang::last_trace()
to see where the error occurred.I get this even when
tidyverse
andeasystats
are loaded, so I'm not sure wherescales_add_defaults()
is supposed to be loading from (and google is not being helpful)Backtrace: ▆
<fn>
(x)