Data in R Packages

Community

Master R package data inclusion.

Authorchoxos
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide to effectively and correctly including data within R packages, ensuring data is accessible, well-documented, and compliant with CRAN policies.

Core Features & Use Cases

  • Data Types: Understand and implement exported data (data/), internal data (R/sysdata.rda), and raw files (inst/extdata/).
  • Documentation: Learn to document datasets using roxygen2 for clarity and discoverability.
  • CRAN Compliance: Adhere to CRAN size limits and best practices for data inclusion.
  • Use Case: You need to include a large dataset in your R package for users to analyze. This Skill will guide you on how to save it, document it, and ensure it doesn't violate CRAN's size restrictions.

Quick Start

Use the Data in R Packages skill to learn how to add a new dataset named 'my_data' to your 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: Data in R Packages
Download link: https://github.com/choxos/RPkgAgent/archive/main.zip#data-in-r-packages

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.