# Within shiny both session and input variables will exist,
# this creates examples here for testing purposes:
sess_res = MB_test_mksession()
session = sess_res$session
input = sess_res$input
state = MB_init_state(
FM_yaml_file = system.file(package = "formods",
"templates",
"formods.yaml"),
MOD_yaml_file = system.file(package = "ruminate",
"templates",
"MB.yaml"),
id = "MB",
session = session)
state
Run the code above in your browser using DataLab