Consistent code, tests, and docs for R packages.
Guides R package development so code, tests, documentation, and release notes follow consistent conventions.
When to use it
Use when working on an R package, running tests, writing documentation, or building package infrastructure.
It changes how the agent writes, formats, tests, and documents code in an R package.
What you provide
Requires R to run the documented Rscript commands.
Uses devtools to load package code, run tests, regenerate documentation, and check the package.
Uses testthat for package tests, with test files placed under tests/testthat/.
Uses roxygen2 for user-facing function documentation and requires regenerating documentation after comment changes.
No additional actions listed.