Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RMarkdown with "runtime: shiny" not supported? #40

Open
edonnachie opened this issue Dec 14, 2021 · 1 comment
Open

RMarkdown with "runtime: shiny" not supported? #40

edonnachie opened this issue Dec 14, 2021 · 1 comment

Comments

@edonnachie
Copy link

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.

@Shaunson26
Copy link

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants