FM_set_app_state {formods}R Documentation

Set the App State

Description

Takes a loaded app state and overwrites the current app state

Usage

FM_set_app_state(session, app_state, set_holds = TRUE)

Arguments

session

Shiny session variable.

app_state

Loaded app state.

set_holds

If TRUE (default) the holds will be set for all of the modules present in the app state.

Value

No return value, just updates the app state in the session variable.

Examples

# We need a Shiny session object to use this function:
id="UD"
sess_res = UD_test_mksession(session=list(), id=id)
session = sess_res$session
app_state = FM_fetch_app_state(session)
FM_set_app_state(session, app_state)

[Package formods version 0.1.6 Index]