What problem does it solve?
Complex data analysis pipelines often require creating and managing many targets, variants, and replication runs. This Skill provides a structured approach to define static and dynamic branching in R pipelines using targets and tarchetypes, enabling scalable, reproducible workflows.
Core Features & Use Cases
- Static branching with tar_map() to generate multiple target variants from a values data frame.
- Dynamic branching with pattern-based constructs like map(), cross(), and tar_rep() for large-scale simulations.
- Hybrid patterns via tar_map_rep() to mix known variants with batched replication for performance.
- Use cases include method comparisons, parameter sweeps, and simulation studies across many configurations.
Quick Start
Create a small pipeline in _targets.R that uses tar_map() or tar_map_rep() to enumerate two methods across three datasets, then run tar_make() to execute all branches.