Generate your Rd documentation, 'NAMESPACE' file, and collation field using specially formatted comments. Writing documentation in-line with code makes it easier to keep your documentation up-to-date as your requirements change. 'Roxygen2' is inspired by the 'Doxygen' system for C++.
See vignette("roxygen2", package = "roxygen2")
for an overview
of the package, vignette("rd", package = "roxygen2")
for generating
documentation, and vignette("namespace", package = "roxygen2")
for
generating the namespace specification.
If you have existing Rd files, check out the Rd2roxygen
package
for a convenient way of converting Rd files to roxygen comments.
Useful links: