On Wed, Jul 8, 2009 at 3:53 PM, hadley wickham<h.wick...@gmail.com> wrote: > Sounds like a neat idea! Especially with Duncan Murdoch's recent work > making it easy to parse rdoc files in R.
I reckon the tricky bit is going to be working out how to map the various possibilities of rdoc files into Roxygen syntax. We do have a huge potential test suite though, since once the .R files are passed through Roxygen we should get back the .Rd files that we started with.... For example, just looking at the sp package, there's gridded.R which has functions documented in gridded-methods.Rd. Are Rd file names essentially arbitrary, meaning we need to look at the \alias section to see what functions are documented? And then if those functions are in more than one .R file what do we do? The various class descriptions and methods also seem to be scattered amongst various files too. This is not an easy problem... Barry ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel