Skip to contents

A high-level helper that performs a comprehensive check on a YAML/JSON workflow file. This includes schema validation, topological consistency checks (Mermaid vs YAML), and R logic syntax linting.

Usage

validate_workflow_file(file_path)

Arguments

file_path

String. Path to the workflow definition file.

Value

Logical TRUE if valid (invisibly). Throws a detailed error on failure.

Examples

if (FALSE) { # \dontrun{
# Holistic check: schema + topology + R linting
validate_workflow_file("inst/workflows/bioinfo.yaml")
} # }