DW_test_mksession {formods} | R Documentation |
Populate Session Data for Module Testing
Description
Populates the supplied session variable for testing.
Usage
DW_test_mksession(session, id = "DW", id_UD = "UD")
Arguments
session |
Shiny session variable (in app) or a list (outside of app) |
id |
An ID string that corresponds with the ID used to call the modules UI elements |
id_UD |
An ID string that corresponds with the ID used to call the UD modules UI elements |
Value
list with the following elements
isgood: Boolean indicating the exit status of the function.
session: The value Shiny session variable (in app) or a list (outside of app) after initialization.
input: The value of the shiny input at the end of the session initialization.
state: App state.
rsc: The
react_state
components.
Examples
sess_res = DW_test_mksession(session=list())
[Package formods version 0.1.6 Index]