Learn R Programming

ruminate (version 0.3.1)

CTS_test_mksession: Populate Session Data for Module Testing

Description

Populates the supplied session variable for testing.

Usage

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

Value

The CTS portion of the all_sess_res returned from FM_app_preload

Arguments

session

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

full

Boolean indicating if the full test session should be created (TRUE) or a minimal test session should be created (FALSE, default)

See Also

FM_app_preload

Examples

Run this code
# \donttest{
session = shiny::MockShinySession$new()
sess_res = CTS_test_mksession(session=session)
# }

Run the code above in your browser using DataLab