R Package Structure

Community

Master R package layout and states.

Authorchoxos
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill clarifies the complex directory structure and lifecycle states of R packages, ensuring you build robust and well-organized packages.

Core Features & Use Cases

  • Directory Layout: Understand the purpose of R/, man/, tests/, vignettes/, data/, inst/, data-raw/, and src/.
  • Package States: Differentiate between Source, Bundled, Binary, Installed, and In-memory package states.
  • Build Control: Learn how .Rbuildignore and .gitignore manage package contents and version control.
  • Use Case: When starting a new R package, use this Skill to quickly reference the correct placement for functions, tests, data, and documentation files.

Quick Start

Explain the purpose of the R/ directory in an R package.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: R Package Structure
Download link: https://github.com/choxos/RPkgAgent/archive/main.zip#r-package-structure

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.