Raise the quality of an R package — apply clean code rules (CCR#1-10), write testthat unit/integration/snapshot tests, raise coverage with covr, format with styler and lint with lintr, and gate on devtools::check(). Use when the user asks to refactor, test, lint, add assertions, improve coverage, or harden R package code.