Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Plots from code chunks with spaces in name do not deploy properly in ShinyApps.io #153
When I deploy an app to ShinyApps.io and a code chunk with a space in its name has a plot, the plot does not render on ShinyApps.io
Without a space
renders fine in RStudio/browser and deploys fine to ShinyApps.io -- https://sharlagelfand.shinyapps.io/no_space_in_chunkname/
But with a space...
Also renders fine in RStudio/browser, but the image doesn't work properly on ShinyApps.io, just empty https://sharlagelfand.shinyapps.io/space_in_chunk_name/
That's a good question! I spent some time debugging this and didn't find an obvious culprit in rmarkdown; it looks like the images are getting correctly rendered and placed, but that Shiny isn't serving them (was able to reproduce the problem in a simple Shiny app). I've gotten in touch with the Shiny team and will file an issue over there if that turns out to be the problem.