run_app: Launch the All-Cause and Excess Mortality Calculator

View source: R/run_app.R

run_appR Documentation

Launch the All-Cause and Excess Mortality Calculator

Description

Starts the bundled 'shiny' application in your default web browser. The app runs entirely on your own machine and does not upload any data.

Usage

run_app(launch.browser = interactive(), ...)

Arguments

launch.browser

Logical; whether to open the app in a web browser. Defaults to interactive().

...

Additional arguments passed on to runApp (for example port or host).

Details

The application is copied to a per-session temporary directory before it is launched, so it never writes into the (possibly read-only) package installation directory.

Value

Called for its side effect of running the Shiny application; invisibly returns NULL when the app is closed.

Examples

if (interactive()) {
  # Launch the calculator in your browser:
  run_app()
}


exmort documentation built on Nov. 26, 2026, 9:09 a.m.