Executes a single task in test mode using the supplied
pipelineVersion as its test namespace. Checks that you are not on the
main branch, then runs the task with checkStatus = TRUE. Useful for
testing individual task changes before running the full pipeline.
Usage
testStudyTask(
taskFile,
configBlock,
pipelineVersion = "dev",
env = rlang::caller_env()
)Arguments
- taskFile
Character. The name of the task file (base name only, no path).
- configBlock
Character. The name of the config block to use.
- pipelineVersion
Character. Test namespace for this run — drives the cohort table suffix, the
exec/results/folder, and the task-history namespace. Defaults to"dev". Normalized to lowercase snake_case; an over-long namespace is rejected rather than truncated. Use the same value here and intestStudyPipeline().- env
The execution environment. Defaults to caller environment.