Learn R Programming

formods (version 0.2.1)

ASM_test_mksession: Populate Session Data for Module Testing

Description

Populates the supplied session variable for testing.

Usage

ASM_test_mksession(session = list())

Value

The ASM portion of the `all_sess_res` returned from FM_app_preload

Arguments

session

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

See Also

FM_app_preload

Examples

Run this code
session = shiny::MockShinySession$new()
sess_res = ASM_test_mksession(session=session)

Run the code above in your browser using DataLab