runIFCshinyApp: Run an IFCshiny Application

View source: R/runIFCshinyApp.R

runIFCshinyAppR Documentation

Run an IFCshiny Application

Description

Function to run IFCshiny application

Usage

runIFCshinyApp(
  app = "IFCshiny",
  host = "127.0.0.1",
  launch.browser = NULL,
  local = TRUE,
  .access_fs = FALSE,
  ...
)

Arguments

app

an app name from IFCshiny package. Default is "IFCshiny".

host

IPv4 address that the application should listen on. Defaults is "127.0.0.1".

launch.browser

whether to run the app and launch default system browser. Default is NULL.
If set to NULL and in Rstudio, the app will be run using and displayed in Rstudio's viewer.
If set to TRUE, the app will be run and the default system browser will be launched.
If set to FALSE, the app will be run but no browser will be launched.

local

TRUE, FALSE or an environment, determining where the application files should be sourced. Default is TRUE.

.access_fs

whether filesystem could be accessed or not. Default is FALSE.

...

Other arguments to be passed. Arguments will be first passed to runApp function.
Then, remaining named arguments will be passed as global variable to 'app'.

Details

it will source application files in environment set by 'local' and then use shiny::shinyApp

Value

it invisibly returns an object representing the app. See ?shiny::shinyApp.

Examples

if(interactive()) runIFCshinyApp()

gitdemont/IFCshiny documentation built on Sept. 20, 2023, 9:13 p.m.