FM_fetch_deps {formods} | R Documentation |
Fetches Dependency Information
Description
For a given state and session this function will determine the module ids that are dependent as well as any packages the module elements might depend on.
Usage
FM_fetch_deps(state, session)
Arguments
state |
Current module state after yaml file has been read |
session |
Shiny session variable |
Value
list with the following elements:
mod_ids Dependent module ids.
packages List of package dependencies.
package_code Library commands to load packages.
Examples
# We need a Shiny session object to use this function:
id="UD"
sess_res = UD_test_mksession(session=list(), id=id)
session = sess_res$session
state = sess_res$state
mod_deps = FM_fetch_deps(state, session)
[Package formods version 0.1.6 Index]