I have R code with stopped to work with latest R package of plotly. It was working fine before.
Here is the code for example:
d <- diamonds[sample(nrow(diamonds), 1000), ]
p <- ggplot(data = d, aes(x = carat, y = price)) +
geom_point(aes(text = paste(“Clarity:”, clarity)), size = 4)
gg <- ggplotly§
htmlwidgets::saveWidget(gg, file = “index.html”)