r-oop

Community

Pick the best R OOP system for your project.

Authorab604
Version1.0.0
Installs0

System Documentation

What problem does it solve?

R projects often struggle to choose among S3, S4, S7, and vctrs for object-oriented programming. This Skill provides a concise guide to selecting the appropriate OOP system for reliable, maintainable R code.

Core Features & Use Cases

  • System selection guidance: compares S3, S4, S7, and vctrs, outlining trade-offs in validation, inheritance, and ergonomics.
  • Practical examples: illustrates class definitions and method dispatch patterns across S3, S4, S7.
  • Migration guidance: offers practical paths for migrating from older systems to S7 or mixing approaches in a codebase.

Quick Start

Use this Skill to decide which OOP system to adopt for a new or existing R project, and review concise code examples showing typical class definitions and method dispatch.

Dependency Matrix

Required Modules

None required

Components

Standard package

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

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.