UD_test_mksession {formods}R Documentation

Populate Session Data for Module Testing

Description

Populates the supplied session variable for testing.

Usage

UD_test_mksession(session = list())

Arguments

session

Shiny session variable (in app) or a list (outside of app)

Value

The UD portion of the 'all_sess_res' returned from FM_app_preload

See Also

FM_app_preload

Examples

session = shiny::MockShinySession$new()
sess_res = UD_test_mksession(session=session)

[Package formods version 0.2.0 Index]