A wiki
package that adds wiki-like documentation to R packages. You'd have a inst/wiki
subdirectory with plain text files in markdown, asciidoc, textile, with embedded R code. With the right incantation, these files would be executed (think brew
and/or asciidoc
packages), and the relevant output uploaded to a given repository online (github, googlecode, etc.). Another function could take care of synchronizing the changes made online, typically via svn
or git
.
Suddenly you have a wiki documentation for your package with reproducible examples (could even be hooked to R CMD check
).
EDIT 2012:
... and now the knitr
package would make this process even easier and neater