Creates a list of the initialized module state
Examples
# Within shiny the session variable will exist,
# this creates an example here for testing purposes:
sess_res = ASM_test_mksession()
#> Error in ASM_set_app_state(session = list(), sources = sources): could not find function "ASM_set_app_state"
session = sess_res$session
#> Error: object 'sess_res' not found
state = ASM_init_state(
FM_yaml_file = system.file(package = "formods",
"templates",
"formods.yaml"),
MOD_yaml_file = system.file(package = "formods",
"templates",
"ASM.yaml"),
id = "ASM",
session = session)
#> Error: object 'session' not found
state
#> Error: object 'state' not found