rstudio/shiny — pull request #383 by jcheng5 (2014-01-31 00:48:17+00:00)
Title: Don't show broken image when plot is empty

Repro case:

shiny::runApp(list(
ui=basicPage(plotOutput('foo')),
server=function(input, output, session) {
output$foo <- renderPlot({})
}
))