FG_test_mksession {formods} | R Documentation |
Populate Session Data for Module Testing
Description
Populates the supplied session variable for testing.
Usage
FG_test_mksession(session = list(), full = FALSE)
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. |
Value
The FG portion of the 'all_sess_res' returned from FM_app_preload
See Also
Examples
session = shiny::MockShinySession$new()
sess_res = FG_test_mksession(session=session)
[Package formods version 0.2.1 Index]