buildApp: buildApp

Description Usage Arguments Details Value Examples

Description

Build a mattR app object for serving by httpuv

Usage

1
buildApp(routes, modules = c(), appState = new.env())

Arguments

routes

The routes used in this app.

modules

List of optional modules.

appState

The initial state of the app.

Details

This will set the variable in the appState environment if it is not set.

Value

The app object

Examples

1
2
3
4
## Not run: 
buildApp()

## End(Not run)

bobjansen/mattR documentation built on May 9, 2019, 9:57 p.m.