launch_app: Launch the Covid-19 Shiny app

Description Usage Arguments Examples

View source: R/launch_app.R

Description

Runs a Shiny application. This function normally does not return; interrupt R to stop the application.

Usage

1
2
3
4
launch_app(
  display.mode = c("auto", "normal", "showcase"),
  launch.browser = c(TRUE, FALSE)
)

Arguments

display.mode

The mode in which to display the application. If set to the value "showcase", shows application code and metadata from a DESCRIPTION file in the application directory alongside the application. If set to "normal", displays the application normally. Defaults to "auto", which displays the application in the mode given in its DESCRIPTION file, if any.

launch.browser

If true, the system's default web browser will be launched automatically after the app is started. Defaults to true in interactive sessions only. This value of this parameter can also be a function to call with the application's URL.

Examples

1
2
3
4
5
## Not run:  
launch_app()
launch_app(display.mode = "showcase", launch.browser = TRUE)

## End(Not run)

etc5523-2020/r-package-assessment-zyliu178 documentation built on Jan. 1, 2021, 1:13 a.m.