{"slug":"posit-dev-testing-r-packages","source_name":"posit-dev/testing-r-packages","name":"Posit Dev/Testing R Packages","description":"Best practices for writing R package tests using testthat version 3+. Use when writing, organizing, or improving tests for R packages. Covers test structure, expectations, fixtures, snapshots, mocking, and modern testthat 3 patterns including self-sufficient tests, proper cleanup with withr, and snapshot testing.","version":1,"lift":{"pass_rate_delta_pts":18.18,"pass_rate_pct":100,"total_cases":22,"passed_cases":22,"tokens_delta_pct":207.2,"turns_delta_pct":0,"verdict":"pass","benchmark_model":"gemini-3.6-flash","grading_method":"judged","completed_at":"2026-08-19T12:34:54.246905+00:00"},"skill_score":null,"benchmark_models":[{"model":"gemini-3.6-flash","headline":true,"delta_pts":18.18,"with_pass_pct":100,"without_pass_pct":81.8,"tokens_delta_pct":207.2,"turns_delta_pct":0,"total_cases":22,"cases_aggregated":22,"verdict":"pass","never_hurt":true,"completed_at":"2026-08-19T12:34:54.246905+00:00","run_id":"34ba98cb-c249-49af-b4a5-4b446cfc9413","version_number":1,"is_latest_version":true,"gate":null}],"trust":{"skill_safety":"passed","safety_status":"clean","intent_verdict":"safe","content_status":"clean","indexable":true},"license":"MIT","install_count":0,"manifest_hash":"1262a06605b313b14b890d030256c21d931d9bbc9e11bd84d18a820bbf247abf","raw_url":"https://app.decimal.ai/s/posit-dev-testing-r-packages/SKILL.md","scorecard_url":"https://app.decimal.ai/skills/posit-dev-testing-r-packages"}