You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -22,6 +22,10 @@ Invisibly returns `NULL`. The function primarily updates `app$profiler` with exe
22
22
.PP
23
23
### Key Steps: 1. **Dependency Check**: Validates if required context variables and files exist via `check_dependency(app, context)`. - If dependencies are met, proceeds to execute the application. - If dependencies are missing, throws an error with detailed missing resources. 2. **Execution**: - Logs start/end timestamps if `options(verbose = TRUE)`. - Executes `app$call` with arguments `app` and `context` using `do.call()`. 3. **Error Handling**: - Aggregates missing dependencies into readable error messages. - Calls `throw_err()` to terminate the workflow and report issues. 4. **Profiling**: Records total execution time in `app$profiler$time` using `time_span()` for human-readable formatting.
Copy file name to clipboardExpand all lines: man/__runImpl.1
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,6 @@ __runImpl \- __runImpl(context,
5
5
.SH SYNOPSIS
6
6
\fI__runImpl(context,
7
7
<i>disables</i>='list'())\fR
8
-
.SH DESCRIPTION
9
-
.PP
10
-
An internal function that drives the execution of a modular workflow. It sequentially processes analysis modules according to the pipeline configuration while respecting disablement rules.
11
-
.PP
12
8
.SH OPTIONS
13
9
.PP
14
10
\fBcontext\fB\fR\- . A workflow context object containing: \itemize{ \item{pipeline - character vector of module execution order} \item{workflow - list of module definitions} }
@@ -24,6 +20,8 @@ Invisibly returns NULL. Modifies the workflow context object in-place through mo
24
20
.PP
25
21
This function: \enumerate{ \item Retrieves module execution order from `context$pipeline` \item Checks disablement status through two mechanisms: \itemize{ \item Explicit disablement via `disables` parameter \item Module's own `disable` property (set by upstream modules) } \item Executes non-disabled modules using `.internal_call()` \item Provides verbose logging when `options(verbose=TRUE)` } The workflow context is modified in-place by module execution.
26
22
.PP
23
+
.SH SEE ALSO
24
+
\code{\link{.internal_call}} for module execution logic
27
25
.SH FILES
28
26
.PP
29
27
SMRUCC/R#.declare_function.__runImpl at workflowRender.R:line 76
Copy file name to clipboardExpand all lines: man/app.1
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ app \- app(name, analysis,
12
12
\fBname\fB\fR\- . the analysis app name
13
13
.PP
14
14
.PP
15
-
\fBanalysis\fB\fR\- . a callable function for run the data analysis content. The function declare signature for this parameter value required of two parameter signature, see comment document of the ``app_check.delegate`` function.
0 commit comments