What problem does it solve?
It helps you turn research methods written in R into a reusable, well-tested, properly documented package that can be built and submitted to CRAN or Bioconductor with confidence.
Core Features & Use Cases
- Scaffold a research-ready R package using a standard structure (DESCRIPTION, NAMESPACE, R/ source, man/ docs, tests/, vignettes/, inst/ data).
- Generate documentation with roxygen2 so function documentation stays consistent with the codebase, including parameter docs and examples.
- Ensure correctness with testthat by adding unit tests and running them during development and CI.
- Support distribution workflows including R CMD check, CRAN submission readiness, and vignette creation to demonstrate statistical methods.
- Optional Python interoperability by interfacing with R packages via rpy2 for workflows where experiments and analysis span Python and R.
Quick Start
Ask an AI agent to scaffold an R package named mystatpack with roxygen2 documentation, testthat unit tests for compute_effect_size and power_analysis, and a vignette that demonstrates how to use the package for effect size computation and sample size planning.