TokenToSeaSkill 广场
English 控制台

Testing R Packages

posit-dev

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.

安装

尚未确认此技能的独立目录。下面命令会打开仓库技能选择器,请按上游说明选择技能。

skills CLI
npx skills add posit-dev/skills