[Rd] 'R CMD INSTALL mypkg' doesn't always update help pages
hpages at fhcrc.org
Wed Jun 6 00:45:00 CEST 2007
'R CMD INSTALL mypkg' and 'install.packages(mypkg, repos=NULL)' don't
update mypkg help pages when mypkg is a source directory. They only
install new help pages if there are some but they leave the already
installed pages untouched. So you end up with mixed man pages from
different versions of the package :-/
I found no mention of this in 'R CMD INSTALL --help' or in
'?install.packages' so it looks like a bug (or at least an
undocumented feature). Isn't it something that the user should be
able to control via the --no-docs option?
This problem can be worked around by first building the source
package with 'R CMD build mypkg' but...
More information about the R-devel