I’ve been using plotly from a Shiny app fairly extensively, and have found that liberal use of ‘evaluate = TRUE’ in the call to plot_ly() makes work much faster.
However in new versions of the R packages (> 2.0.16), use of this argument produces an error:
plot_ly(midwest, x = percollege, color = state, type = "box", evaluate = TRUE)
Error in UseMethod("plotly_build") :
no applicable method for 'plotly_build' applied to an object of class "list"
Is this a bug, or a change in package behaviour I need to adapt my code for?
I’ve been sticking with the 2.0.16 version, since more recent releases produce the break I describe. I use this on production systems, so not too keen on using a dev version.