[R] How to offer a patch to a help page?
Duncan Murdoch
murdoch.duncan at gmail.com
Sun Apr 24 19:20:40 CEST 2011
On 11-04-24 12:51 PM, Tal Galili wrote:
> Hello all,
>
> I wish to offer a patch to a help page (specifically ?update.packages).
> Might you please direct me as to where to find the file, and how might it be
> best to edit it? (on windows)
>
> (My apologies for the n00b question...)
In the R sources, the help pages are stored in
src/library/<package>/man, or occasionally in a platform-specific
subdirectory of that. Since update.packages is in the utils package,
that would be src/library/utils/man. The name of the page is
"update.packages", so a first guess would be to look in a file called
"update.packages.Rd", and that is indeed the right file.
Generally if you are putting together a patch, you should get agreement
on the R-devel list that the change is worth making before putting a lot
of effort into it, because not all patches are accepted. If it is a
very minor thing (e.g. correcting a typo), the simplest thing is to post
the suggested correction to the R-devel list.
Duncan Murdoch
More information about the R-help
mailing list