Reads and validates a CLI pipeline output directory, returning a structured summary of the first-level outputs found there.
Value
A list with components:
- root
The output root path.
- valid
Logical;
TRUEif the output root is usable.- errors
Character vector of validation errors (empty if valid).
- firstlevel_plan
First-level work plan data.frame.
- firstlevel_manifest
Consolidated first-level manifest data.frame.
- discovery_manifest
Discovery manifest data.frame, or
NULL.- summary
Named list with
n_subjects,n_groups,groups,types,statistics, etc.