For work, I have a shinyApp where users can input responses, which are saved in a google sheet.
Additionally, I have a R Markdown with the following YAML:
output: learnr::tutorial: progressive: true allow_skip: true runtime: shiny_prerendered
This R Markdown uses the
googlesheets package to load in the responses that users inputted on the Shiny App and creates a document. As you can see, this R Markdown is interactive; its content changes depending on users input on the shinyApp.
What I want is the following:
On my shinyapp, using
actionButton, I want to
deploy the RMarkdown online, essentially pressing
Run Document button on the R Markdown. The result would be hosting this RMarkdown online, maybe on shinyapps.io
What I've tried:
I've deployed both the shinyApp and R Markdown on shinyapps.io and tried deploying the RMarkdown by including the
actionButton on my shinyApp and pressing the button. Unfortunately, the shinyApp shows me an error message:
"Disconnected from the Server"