ggstatsplot has stopped working and I'm looking for any suggestions as to what may have happened
(error and code below). I'm running R Studio 2022.07.0 Build 548 and R version 4.2.1 (2022-06-23) under OS 12.3.1.
All thoughts gratefully received.
Marc
library(ggstatsplot)
ggbetweenstats(iris, Species, Sepal.Length)
Error:
! Problem while converting geom to grob.
Error occurred in the 6th layer.
Caused by error in vec_restore_dispatch():
! Can't convert to <ggplot2_mapped_discrete>.
rlang::last_error()
<error/rlang_error>
Error:
! Problem while converting geom to grob.
Error occurred in the 6th layer.
Caused by error in vec_restore_dispatch():
! Can't convert to <ggplot2_mapped_discrete>.
Backtrace:
base (local) <fn>(x)
ggplot2:::print.ggplot(x)
ggplot2:::ggplot_gtable.ggplot_built(data)
ggplot2:::by_layer(...)
ggplot2 (local) f(l = layers[[i]], d = data[[i]])
l$draw_geom(d, layout)
ggplot2 (local) draw_geom(..., self = self)
self$geom$draw_layer(...)
ggplot2 (local) draw_layer(..., self = self)
base::lapply(...)
ggplot2 (local) FUN(X[[i]], ...)
self$draw_panel(...)
ggrepel (local) draw_panel(...)
vctrs:::[<-.vctrs_vctr(*tmp*, is.infinite(xlim), value = <lgl>)