Learn R Programming

formods (version 0.2.1)

FG_test_mksession: Populate Session Data for Module Testing

Description

Populates the supplied session variable for testing.

Usage

FG_test_mksession(session = list(), full = FALSE)

Value

The FG portion of the `all_sess_res` returned from FM_app_preload

Arguments

session

Shiny session variable (in app) or a list (outside of app) session = shiny::MockShinySession$new().

full

Boolean indicating if the full test session should be created.

See Also

FM_app_preload

Examples

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

Run the code above in your browser using DataLab