some versions of ggplot2 are not playing nice with plotly, if this does not produce a plot (it gets an error that says something about pm[[2]])
library(plotly)
library(ggplot2)
# Minimal reproducible test
df <- data.frame(x=c("a","b"), y=c(1,2), fill=c("A","B"))
p <- ggplot(df, aes(x=x, y=y, fill=fill)) + geom_bar(stat="identity")
ggplotly(p)
then you have the same problem as out server just had. I fixed it by reverting ggplot versions
remotes::install_version("ggplot2", version="3.5.1")
Not really an issue with our package per se, but something to be aware of.
some versions of ggplot2 are not playing nice with plotly, if this does not produce a plot (it gets an error that says something about
pm[[2]])then you have the same problem as out server just had. I fixed it by reverting ggplot versions
Not really an issue with our package per se, but something to be aware of.