Description Usage Arguments Value
View source: R/executionTree.R
Function to trace all function and routine executions from the startRoutine
forward and either print a data.tree of the executions or output a data.table with executions
and line numbers of executions
1 2 3 4 5 6 | executionTree(path_main, startRoutine = "runRsparrow.R",
includeTypes = c("manageDirVars", "sparrowSetup", "sparrowExec",
"shiny", "batch", "errorTrap", "lists", "fortran"), includeList = NA,
excludeList = c("errorOccurred.R", "named.list.R"),
allOccurances = FALSE, outputType = "data.tree", pruneTree = NA,
treeLimit = NA)
|
path_main |
character string path to RSPARROW_master directory |
includeTypes |
character string vector indicating which types of functions/routines to include in executionTree from the function types in RPSARROW_master/inst/tables/funcTypes.csv |
includeList |
character string vector of functions/routines to include in executionTree even if function/routine not in includeTypes |
excludeList |
character string vector of functions/routines to exclude in executionTree even if function/routine in includeTypes |
allOccurances |
TRUE/FALSE indicating whether all executions of selected functions should be output in the data.table of the executionTree. If ‘outputType = ’data.tree', allOccurances will be reset to FALSE |
pruneTree |
number of execution levels to include in the execution tree |
treeLimit |
number of lines to print in data.tree |
traceProgram
data.table of all function/routine executions and line number of
executions after the startRoutine
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.