Standardizes R project documentation using professional patterns for roxygen2, READMEs, and package vignettes.
The R Documentation Patterns skill provides Claude with specialized knowledge for creating high-quality, CRAN-standard documentation for R packages and data science projects. It offers structural templates for README files, comprehensive roxygen2 function headers, and guidelines for internal code commenting and package-level documentation. By using these patterns, developers can ensure their R code is maintainable, user-friendly, and ready for professional distribution or collaborative development within the Tidyverse ecosystem.
Key Features
01Vignette and dataset documentation templates for full package coverage
020 GitHub stars
03Architecture visualization support using Mermaid diagrams for R workflows
04Internal code commenting patterns with section headers and TODO tags
05Comprehensive roxygen2 templates for simple and complex R functions
06Standardized README structures including CRAN and GitHub status badges
Use Cases
01Standardizing documentation across a team's internal R-based data science repository
02Preparing an R package for submission to CRAN or Bioconductor with compliant documentation
03Generating professional package websites using pkgdown and structured vignettes