Skip to contents

Populates session data for testing or to load a specific analysis.

Usage

FM_mk_app_preload(session)

Arguments

session

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

Value

list with the following elements

  • isgood: Boolean indicating the exit status of the function.

  • msgs: Messages to be passed back to the user.

  • yaml_list: Lists with preload components.

  • session: Returning the session variable to be used in scripting (not in app).

Examples

sources=system.file(package="formods", "preload", "UD.yaml")
sess_res = ASM_set_app_state(session=list(), sources=sources)
#> Error in ASM_set_app_state(session = list(), sources = sources): could not find function "ASM_set_app_state"
mkp_res = ASM_mk_app_preload(sess_res$session)
#> Error in ASM_mk_app_preload(sess_res$session): could not find function "ASM_mk_app_preload"