Software
roxygen2

roxygen2

Generate R package documentation from inline R comments

R

roxygen2 automates R package documentation by generating .Rd files, NAMESPACE, and Collate fields from specially formatted comments written directly above function definitions in your source code.

This package eliminates the need to manually write and maintain separate documentation files, keeping your documentation close to your code where it’s easier to keep in sync. It supports standard R documentation features including examples, parameter descriptions, cross-references, and package-level documentation. roxygen2 also manages namespace exports and imports, reducing the manual work required to maintain the NAMESPACE file as your package evolves.

Contributors