r-development

Automate R package build, test, and documentation workflows with devtools, roxygen2, and testthat.

7|3|Updated Jul 31, 2025
One-click install
npx skills add https://github.com/seabbs/claude-code-config --skill r-development-seabbs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: r-development
Source: https://github.com/seabbs/claude-code-config/tree/main/skills/r-development
Command: npx skills add https://github.com/seabbs/claude-code-config --skill r-development-seabbs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

R package development can be error-prone and time-consuming without a clear pattern. This skill provides a structured guide to implement reproducible workflows, robust testing, and consistent documentation across R packages.

Core Features & Use Cases

  • Standardized setup with devtools and common tooling for development
  • Automated documentation generation with roxygen2 and pkgdown
  • Reliable testing pipelines using testthat and CI integrations
  • Use Case: A new package project quickly obtains checks, documentation, and a publish-ready build

Quick Start

Create a new R package project and run the standard development workflow to build, test, and document it.

Frequently Asked Questions about r-development

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

FAQPage Schema
How do I automate R package development workflows for testing and documentation?

Automate R package development by applying structured workflows for building, testing, and documenting packages using devtools, roxygen2, and testthat to ensure reproducible builds and consistent documentation generation.

What is the best way to set up an R package project with devtools and testthat?

The best way to set up an R package project is using standardized devtools configuration to establish development environments, integrate testthat for reliable testing pipelines, and generate roxygen2 documentation.

Does this R package development workflow support automated documentation with roxygen2?

Yes, this R package development workflow supports automated documentation generation with roxygen2 and pkgdown, producing consistent package documentation and publish-ready reference sites.

Can I use testthat to create reliable testing pipelines for my R package?

Yes, you can use testthat to create reliable testing pipelines for R packages, applying standardized checks and CI integrations to ensure code quality and robust testing across development cycles.

Why do I need reproducible build and check steps for R package development?

Reproducible build and check steps are needed for R package development to prevent error-prone manual processes, satisfy code quality requirements, and ensure consistent package validation using devtools.

What are the limitations of manual R package development without standardized tooling?

Without standardized tooling, manual R package development becomes time-consuming and error-prone, lacking reproducible workflows for environment setup, automated roxygen2 documentation, and reliable testthat checks.