DesktopDeployR icon indicating copy to clipboard operation
DesktopDeployR copied to clipboard

RMarkdown with "runtime: shiny" not supported?

Open edonnachie opened this issue 3 years ago • 1 comments

First, thankyou for developing DesktopDeployR. It's a helpful way to get started with shiny in a corporate environment.

Can you confirm that RMarkdown documents with shiny runtime are not supported. I've tried adding rmarkdown::run() to app.R and it doesn't seem to work (no error, just stops). I'm not an expert, but it seems that rmarkdown::run() does not open the browser like shiny::runApp does.

edonnachie avatar Dec 14 '21 13:12 edonnachie

This does work, I just tried it. I had this in my app.R, with runtime: shiny in the rmd rmarkdown::run('./app/shiny/flexdash.Rmd', shiny_args = list(launch.browser=TRUE)) there are other issues with when you close this browser though, there are R zombie processes left over, and the app wont start again (at least in my experience). I need to kill it first. I'm just about to post this experience in the issues..

Shaunson26 avatar Mar 31 '22 13:03 Shaunson26