Validates that a study task R script has all required components to work in the pipeline. Checks for required sections, template variables, executionSettings creation, output folder setup, and non-empty script section.
Details
A valid study task must contain:
Section headers: A. Meta, B. Dependencies, C. Connection Settings, D. Task Settings, E. Script
Template variables: !||configBlock||! and !||pipelineVersion||!
ExecutionSettings creation (assignment to executionSettings object)
Output folder creation (assignment to outputFolder object)
Non-empty E. Script section (more than just the template comment)