What problem does it solve? R projects often lack consistent testing conventions, leading to disorganized test files, unclear coverage expectations, and fragile tests that break across environments. This Skill standardizes how tests are written, named, organized, and measured in R projects using testthat 3rd edition. ## Core Features & Use Cases - Test Framework Conventions: Enforces testthat 3e with clear patterns for unit tests, integration tests, BDD-style describe/it blocks, and snapshot testing for reports and plots. - Directory and Naming Standards: Maps source files like R/functions/utils_data.R to test files like tests/testthat/test-utils-data.R, with helper.R, setup.R, and fixtures/ organization. - Coverage Requirements: Defines an 80% line-coverage advisory threshold and 100% exported-function coverage, with covr commands for reporting. - Use Case: When adding a new data transformation function to an R package, use this Skill to generate a properly named test file with unit tests, edge-case coverage, and fixtures that follow project conventions. ## Quick Start Write testthat 3e tests for my R function calculate_order_total following the project testing conventions.