klutometis/roxygen — pull request #64 by cbeleites (2011-12-05 11:35:15+00:00)
Title: merge duplicated arguments

Dear Hadley,

here's another suggestion.

Problem: several functions documented in one Rd file have @param with the same argument name (e.g. ...). Currently that leads to invalid .Rd, as argument names should be unique in the .Rd file.

Solution: The patch merges such duplicated arguments into one (separated by \n\n).

Future nice to have: automatically prepend the name of the function to the paragraphs. -> should I write a feature request for that? (I don't have time at the moment to think how that would best be done).

The following pull request is a test case for this patch.