rap-pipeline

Configures dependency-aware build automation for R projects using the {targets} package.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/ivyleavedtoadflax/RapSkill --skill rap-pipeline
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: rap-pipeline
Source: https://github.com/ivyleavedtoadflax/RapSkill/tree/main/plugins/rap/skills/rap-pipeline
Command: npx skills add https://github.com/ivyleavedtoadflax/RapSkill --skill rap-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the configuration of build automation for R projects using the {targets} package, ensuring reproducibility and efficiency in analytical pipelines.

Core Features & Use Cases

  • Pipeline Configuration: Generates or updates a _targets.R file for dependency-aware build automation.
  • Project Scanning: Detects R projects and scans R/ directory for functions to include in the pipeline.
  • Dependency Mapping: Automatically maps function dependencies to create a robust pipeline structure.
  • Use Case: When starting a new R project for statistical analysis, use this Skill to set up {targets} to manage the data ingestion, processing, analysis, and output stages, ensuring that only necessary steps are re-run when code changes.

Quick Start

Configure build automation for the current R project using the rap-pipeline skill.

Frequently Asked Questions about rap-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up build automation for an R project using targets?▼

An R pipeline using targets requires a structured project directory, specifically an R/ folder containing your functions. This Skill scans that directory to map dependencies and generate the _targets.R file, providing reproducible analytical build automation.

What happens if my R/ directory is missing when configuring a targets pipeline?▼

This Skill configures reproducible research pipelines in R by mapping function dependencies into a _targets.R file. Using the targets package ensures that analytical steps like data processing are only re-run when underlying code changes, saving computation time.

How do I automate dependency mapping for functions in my R package?▼

Using the targets package for R build automation provides dependency-aware pipeline configuration, ensuring only necessary steps re-run when code changes. Other approaches lack this automatic dependency mapping, reducing reproducibility and computational efficiency.

Does this targets pipeline setup work if the targets package is not installed?▼

If your R/ directory or functions are missing, the Skill handles these edge cases gracefully during pipeline configuration. It also manages the non-installed targets package edge case to ensure automation setup completes without crashing.