Note: this is unfortunately far from being a reproducible example or a clearly defined issue, but I'm posting what I've got on the off chance it can at least be a starting point towards a solution.
I've got a flexdashboard report using shiny runtime hosted on a shiny-server instance that has several plotly graphs, and after updating to the current CRAN version of plotly, v4.7, some of the plots no longer displayed, with no R error messages or warnings. The (redacted of proprietary information) image below shows what the output looks like when the report is working properly, but after updating to v4.7, the second plot from the left (scatter plot) just appears as an empty panel.

Checking in chrome developer tools there is an error message that I assume is related to the problem, looks like perhaps objects of class Plotly are undefined? I have next to no idea what I'm doing when it comes to javascript/html/web applications, but if I had to take a wild guess, it could either be due to an incompatibility between plotly-latest.min.js and shiny.min.js or possibly just the elimination of dependency references in inst/htmlwidgets/plotly.yaml?

Ordinarily I would update shiny-server, shiny, and all the other packages in use, but I'm a little short on time this week to go through the server reboot process and risk a more extensive troubleshooting session if other packages introduced unrelated breaking updates on other applications/reports.
Let me know if there's any other information it would be helpful for me to post from the developer tools or the r session or system info.
I'm having a hard time getting this pared down to a reproducible example without extraneous information. The original dashboard pulls in a handful of pre-processed data sources and generates multiple tabs with multiple panels and plots that use click events and some other bells and whistles. After getting it cut down to a single scatter plot with the mtcars data set everything works fine...
Functioning workaround:
I forked v4.7 and reverted back the plotlyjs related changes, (msummersgill/plotlyjs_revert) and with that everything is working again.
Comparison between ropensci/master and msummersgill/plotlyjs_revert
Some other anecdotal information:
- When rendering in RStudio server (hosted on the same server running shiny-server), all graphs properly rendered, but it looked like the dependencies were being handled differently due to the different runtime environment.
- Some graphs worked, but others didn't?
- This seems to be specific to plotly graphs rendered in a shiny run time environment within shiny-server
Note: this is unfortunately far from being a reproducible example or a clearly defined issue, but I'm posting what I've got on the off chance it can at least be a starting point towards a solution.
I've got a flexdashboard report using shiny runtime hosted on a shiny-server instance that has several plotly graphs, and after updating to the current CRAN version of plotly, v4.7, some of the plots no longer displayed, with no R error messages or warnings. The (redacted of proprietary information) image below shows what the output looks like when the report is working properly, but after updating to v4.7, the second plot from the left (scatter plot) just appears as an empty panel.
Checking in chrome developer tools there is an error message that I assume is related to the problem, looks like perhaps objects of class
Plotlyare undefined? I have next to no idea what I'm doing when it comes to javascript/html/web applications, but if I had to take a wild guess, it could either be due to an incompatibility between plotly-latest.min.js and shiny.min.js or possibly just the elimination of dependency references in inst/htmlwidgets/plotly.yaml?Ordinarily I would update shiny-server, shiny, and all the other packages in use, but I'm a little short on time this week to go through the server reboot process and risk a more extensive troubleshooting session if other packages introduced unrelated breaking updates on other applications/reports.
Let me know if there's any other information it would be helpful for me to post from the developer tools or the r session or system info.
I'm having a hard time getting this pared down to a reproducible example without extraneous information. The original dashboard pulls in a handful of pre-processed data sources and generates multiple tabs with multiple panels and plots that use click events and some other bells and whistles. After getting it cut down to a single scatter plot with the mtcars data set everything works fine...
Functioning workaround:
I forked v4.7 and reverted back the plotlyjs related changes, (msummersgill/plotlyjs_revert) and with that everything is working again.
Comparison between ropensci/master and msummersgill/plotlyjs_revert
Some other anecdotal information: