I'm writing a Shiny tutorial in RMarkdown, and am running the app as it is built, but taking screenshots using webshot. As the data for the app is somewhat large, and I'm plotting maps, the whole thing takes 2-4 seconds to load all of the images. So I added a delay to appshot(). But, I still get outputs of only the app before plotting the data.
I think this is probably because webshot is using a browser that stopped development 6 years ago, in 2018. Please use webshot2 instead. https://github.com/rstudio/webshot2
I'm writing a Shiny tutorial in RMarkdown, and am running the app as it is built, but taking screenshots using webshot. As the data for the app is somewhat large, and I'm plotting maps, the whole thing takes 2-4 seconds to load all of the images. So I added a delay to
appshot()
. But, I still get outputs of only the app before plotting the data.Actually, it's a hair stranger, I get a blank plot. Which is what happens while the app starts up and filters the data the the appropriate settings.
What is wrong here, and how can it be fixed? I've tried longer delays (45 seconds) and no dice....