Skip to content
Prev 2994 / 21312 Next

[Bioc-devel] A call for feedback on writing S4 docs with roxygen

I just replied to his message:

http://lists.r-forge.r-project.org/pipermail/roxygen-devel/2011-November/000319.html

I've spent a good amount of time working on a large C++ project that made extensive use of Doxygen documentation. Its strengths were in the two things that have been touched on:

1. Quick, inline documentation that can can be formatted into an easy to read HTML form.
2. Understanding the structure of the code in terms of classes/methods, inheritance, namespaces, and call graphs.

For packages in R, I find number 1 to be the most important, especially for keeping code and documentation in sync, like Steve mentions. I also find it really helpful for reading/understanding code to have the documentation right there.

Number 2 is also important. I think that either the HTML help index could be made a lot better in that regard, but that would be more of a R-devel thing. Another alternative would be to put a lot of that information in the not often used xxx-package.Rd pages. I think Roxygen or other packages could definitely grow into that area.

-Colin
On Nov 11, 2011, at 16:57, Steve Lianoglou wrote: