targets-pipelines
CommunityMaster complex tar targets pipelines in R.
Authorjsperger
Version1.0.0
Installs0
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: targets-pipelines Download link: https://github.com/jsperger/llm-r-skills/archive/main.zip#targets-pipelines Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.