testthat

Community

Streamline R package testing with robust tests.

Authorj-welling
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Writing, evaluating, reviewing, and debugging R package tests with testthat to ensure code correctness and maintainability.

Core Features & Use Cases

  • Structured test organization under tests/testthat with test- and helper-files for repeatable validation.
  • Clear, readable expectations using test_that and a suite of expectation helpers to verify behavior.
  • Practical scenarios include validating package functions, checking edge cases, and integrating with CI/test coverage discussions.

Quick Start

Create tests under tests/testthat and run devtools::test() to execute them.

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: testthat
Download link: https://github.com/j-welling/NEPSroutines/archive/main.zip#testthat

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.