findModuleName: Identify module names up to a given recursive level

Description Usage Arguments Value

Description

With children, parents, grandparents, etc.; there can be several "layers" of recursion. Some functions need to evaluate the outer level for a value, if found, they don't need to proceed further. If not found, increment one more level of recursion, etc.

Usage

1
.findModuleName(modList, recursive = 0)

Arguments

recursive

Numeric. The depth of recursion, where 0 is only top level, 1 is 1 level in etc.

modules

(Nested) Named list of module names

Value

Character vector of modules names


SpaDES.core documentation built on Sept. 30, 2021, 5:10 p.m.