run_IAS_app: Run the app

View source: R/run_app.R

run_IAS_appR Documentation

Run the app

Description

Initiate an instance of the 'Intermediate & Advanced Shiny' app. If the current context is interactive, (i.e. if the function is called from RStudio), this function will initiate the app stored in inst/app with the runApp function. If the context is not interactive (i.e. the project is being sourced in RStudio Connect after having been deployed), then the function will return a shiny.appobj object, using the function shinyAppDir. This distinction is necessary to allow the app to be deployed.

Usage

run_IAS_app()

Details

Note: an alias function 'l' is also provided to speed up workflow (after making changes, load them with 'Ctrl+Shift+L', then launch the app with 'l()')

Value

either run the app as a side effect or return a shiny.appobj object


chrisbrownlie/advancedShiny documentation built on Aug. 2, 2022, 3:29 a.m.