sps: SystemPipeShiny app main function

Description Usage Arguments Details Value Examples

View source: R/spsCore.R

Description

SystemPipeShiny app main function

Usage

1
sps(tabs = "", server_expr = NULL, app_path = getwd())

Arguments

tabs

custom visualization tab IDs that you want to display, in a character vector. Use spsTabInfo() to see what tab IDs you can load

server_expr

additional top level sever expression you want to run. This will run after the default server expressions. It means you can have access to internal server expression objects, like the shiny::reactiveValues() object shared. You can also overwrite other values. Read "shared object" in vignette.

app_path

SPS project path

Details

You must set the project root as working directory for this function to find required files.

Value

a list contains the UI and server

Examples

1
2
3
4
5
6
7
8
9
if(interactive()){
    spsInit()
    sps_app <- sps(
        tabs = "",
        server_expr = {
            msg("Hello World", "GREETING", "green")
        }
    )
}

systemPipeShiny documentation built on March 16, 2021, 6:01 p.m.