Herve Pages
2007-Jun-05 22:45 UTC
[Rd] 'R CMD INSTALL mypkg' doesn't always update help pages
Hi, '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... Cheers, H.
Jari Oksanen
2007-Jun-06 03:57 UTC
[Rd] 'R CMD INSTALL mypkg' doesn't always update help pages
On 6 Jun 2007, at 01:45, Herve Pages wrote:> Hi, > > '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 have observed this, too. cheers, Jari Oksanen