sps {systemPipeShiny} | R Documentation

## SystemPipeShiny app main function

### Description

SystemPipeShiny app main function

### Usage

    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

    if(interactive()){
        spsInit()
        sps_app <- sps(
            tabs = "",
            server_expr = {
                msg("Hello World", "GREETING", "green")
            }
        )
    }

[Package systemPipeShiny version 1.0.20 Index]