customizing-vectors-r

Community

Build robust R custom vector classes.

Authorjeremy-allen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to creating type-stable vector operations and custom vector classes in R using the vctrs package, ensuring predictable behavior and seamless integration with data frames.

Core Features & Use Cases

  • Type and Size Stability: Guarantees consistent output types and sizes, preventing unexpected behavior.
  • Custom Vector Classes: Enables the creation of new vector types that work correctly with R's data structures.
  • Consistent Coercion: Implements predictable rules for converting between different data types.
  • Use Case: When developing an R package that requires custom data types (e.g., a 'percentage' type) that must behave predictably within data frames and functions.

Quick Start

Use the customizing-vectors-r skill to build a new custom vector class for R packages.

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