designing-oop-r

Community

Master R's OOP systems: S7, S3, S4, vctrs.

Authorjeremy-allen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps R developers navigate the complexities of object-oriented programming in R, enabling them to choose the right OOP system (S7, S3, S4, vctrs) for their project and implement it effectively.

Core Features & Use Cases

  • OOP System Selection: Provides a decision tree to guide the choice between S7, S3, S4, and vctrs based on project needs.
  • Class Design: Offers practical guidelines and examples for designing classes using S7, S3, and vctrs.
  • Migration Strategies: Outlines approaches for migrating between different R OOP systems.
  • Use Case: When starting a new R package that requires robust data structures, this Skill will help you decide whether to use S7 for its formal structure and validation, or vctrs for vector-like behavior.

Quick Start

Use the designing-oop-r skill to understand when to choose S7 over S3 for new R projects.

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: designing-oop-r
Download link: https://github.com/jeremy-allen/claude-skills/archive/main.zip#designing-oop-r

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.