render: Render a 'shidashi' project

View source: R/render.R

renderR Documentation

Render a 'shidashi' project

Description

Render a 'shidashi' project

Usage

render(
  root_path = template_root(),
  ...,
  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 as host, port

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

Value

This functions runs a 'shiny' application, and returns the job id if 'RStudio' is available.

Examples


template_root()

if(interactive()){
  render()
}


shidashi documentation built on June 21, 2022, 5:05 p.m.