depsLoadOrder: Determine module load order

Description Usage Arguments Details Value Author(s)

Description

Internal function. Checks module dependencies and attempts to ensure that cyclic dependencies can be resolved, checking objects in the global environment, and finally, attempts to determine the load order for modules in the simulation.

Usage

1
2
3
4
.depsLoadOrder(sim, simGraph)

## S4 method for signature 'simList,igraph'
.depsLoadOrder(sim, simGraph)

Arguments

sim

A simList object.

simGraph

An igraph object produced by depsGraph.

Details

Uses topo_sort to try to find a load order satisfying all module object dependencies.

Value

Character vector of module names, sorted in correct load order.

Author(s)

Alex Chubaty


SpaDES.core documentation built on Feb. 3, 2019, 5:03 p.m.