analysis

Automate R analysis pipeline runs and synchronize outputs with manuscript content.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/shusuke-ioku/r2 --skill analysis-shusuke-ioku
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analysis
Source: https://github.com/shusuke-ioku/r2/tree/main/src/r2/template/.claude/skills/analysis
Command: npx skills add https://github.com/shusuke-ioku/r2 --skill analysis-shusuke-ioku

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill automates the end-to-end R analysis workflow and keeps analysis outputs and manuscript alignment in sync, reducing manual debugging and drift.

Core Features & Use Cases

  • Orchestrates the full analysis pipeline from 00_setup.R to 30_main_results.R and 40_robustness.R, ensuring outputs match the manuscript.
  • Provides self-debug capabilities by interpreting R errors, applying fixes, and re-running affected scripts.
  • Checks alignment between paper.typ content and latest outputs, updating narratives and figures as needed.

Quick Start

Run the repository's analysis pipeline to execute all steps and refresh the manuscript.

Frequently Asked Questions about analysis

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

FAQPage Schema
How do I keep my R analysis pipeline outputs in sync with my manuscript?

To keep R analysis pipeline outputs in sync with your manuscript, this skill orchestrates execution from 00_setup.R through 30_main_results.R and checks paper.typ content against the latest generated figures and results.

Can I automatically debug R script errors in my analysis pipeline?

Yes, you can debug R script errors automatically because this skill interprets R pipeline errors, applies fixes to the affected scripts, and re-runs them to verify the corrections.

What do I need to run an automated R analysis pipeline and update a manuscript?

You need an R environment and a structured set of scripts including 00_setup.R, 20_data.R, 30_main_results.R, and a pipeline runner script to execute the automated analysis and manuscript update.

What is the best way to automate reproducibility checks for an R manuscript?

The best way to automate reproducibility checks is by running the pipeline runner script to execute all analysis steps and verify that the paper.typ narrative matches the refreshed outputs.

Does this R pipeline automation tool handle robustness checks and manuscript updates?

Yes, it handles robustness checks by running 40_robustness.R and updates the manuscript narratives and figures as needed to ensure analysis outputs stay fully aligned with the paper.typ document.