r-world-devs / shinyCohortBuilder

https://r-world-devs.github.io/shinyCohortBuilder/
Other
6 stars 0 forks source link

Split demo_app or add extra parameter #56

Closed galachad closed 5 days ago

galachad commented 1 week ago

demo_app function is calling shiny::runApp.

We should split it into two functions or add extra param (e.g run = TRUE) into demo_app function.

Example behavior: run = TRUE will call shiny::runApp run = FALSE will return shiny object

With that change, we will be able to run an example app on shinylive.io