Returns the absolute exec/results/<database>/<pipelineVersion>/<taskName>
path for a run. When an ExecutionContext is supplied it is used directly;
otherwise an equivalent one is derived from the ExecutionSettings object
and the pipeline version. This keeps every results-folder path in the
package flowing through ExecutionContext's getResultsPath() rather than
being hand-assembled at each call site.
Usage
resolveResultsPath(
executionSettings,
pipelineVersion,
taskName = NULL,
executionContext = NULL,
execPath = here::here("exec/results")
)Arguments
- executionSettings
An
ExecutionSettingsobject; supplies the database name.- pipelineVersion
Character. Test namespace (e.g.
"develop_ml") or semantic version (e.g."1.0.2"). Ignored whenexecutionContextis supplied.- taskName
Character or
NULL. Task folder name appended to the path.- executionContext
Optional
ExecutionContextfor the current run.- execPath
Character. Base results path. Defaults to
exec/resultsin the current study project. Ignored whenexecutionContextis supplied.