Render a 'shidashi' project
Usage
render(
root_path = template_root(),
...,
prelaunch = NULL,
prelaunch_quoted = FALSE,
launch_browser = TRUE,
as_job = TRUE,
test_mode = getOption("shiny.testmode", FALSE)
)
Arguments
- root_path
the project path, default is the demo folder from
template_root()
- ...
additional parameters passed to
runApp
, such ashost
,port
- prelaunch
expression to execute before launching the session; the expression will execute in a brand new session
- prelaunch_quoted
whether the expression is quoted; default is false
- launch_browser
whether to launch browser; default is
TRUE
- as_job
whether to run as 'RStudio' jobs; this options is only available when 'RStudio' is available
- test_mode
whether to test the project; this options is helpful when you want to debug the project without relaunching shiny applications
Examples
template_root()
#> [1] "/home/runner/.local/share/R/shidashi/AdminLTE3-bare"
if(interactive()){
render()
}