rap-test

Community

Automate R testing and data validation

Authorivyleavedtoadflax
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the setup of the testthat testing framework and generates skeleton test files for R projects, ensuring code quality and reproducibility. It also facilitates data validation testing.

Core Features & Use Cases

  • Test Infrastructure Setup: Creates tests/testthat.R and skeleton test files for R functions.
  • Data Validation Testing: Generates specific tests for schema, value range, categorical data, missingness, uniqueness, and row counts.
  • RAP Compliance: Helps meet the Silver RAP requirement S6 for testing.
  • Use Case: After writing new R functions for your analysis pipeline, run /rap-test to quickly set up the necessary testing infrastructure and generate initial test files, ensuring your code is robust and verifiable.

Quick Start

Run the rap-test skill to set up the testthat testing framework and generate skeleton test files for your R project.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 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: rap-test
Download link: https://github.com/ivyleavedtoadflax/RapSkill/archive/main.zip#rap-test

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.