run_app: Run a Shiny App

View source: R/run.R

run_appR Documentation

Run a Shiny App

Description

A wrapper for [shiny::shinyAppDir()].

Usage

run_app(app = c("doserate", "calibration"), browser = TRUE, display = "auto")

launch_app(
  app = c("doserate", "calibration"),
  browser = TRUE,
  display = "auto"
)

Arguments

app

A ['character'] string specifying the Shiny application to run. It must be one of "'doserate'" or "'calibration'" (see details). Any unambiguous substring can be given.

browser

A ['logical'] scalar: should the app be run in the browser?

display

A ['character'] string specifying the mode in which to display the application (see [shiny::runApp()]).

Details

**Application name** **Keyword**
Dose rate estimation `doserate`
Calibration curve builder `calibration`

Value

A shiny application object.

Note

Usefull presets for the energy scale calibration:

Channel Energy (keV)
76 238.63
465 1460.82
830 2614.51

Author(s)

N. Frerebeau

Examples

## Not run: 
run_app("doserate")
run_app("calibration")

## End(Not run)

crp2a/gammaShiny documentation built on Jan. 14, 2025, 10:56 p.m.