From hpages at fhcrc.org  Wed Jun  6 00:45:00 2007
From: hpages at fhcrc.org (Herve Pages)
Date: Tue, 05 Jun 2007 15:45:00 -0700
Subject: [Rd] 'R CMD INSTALL mypkg' doesn't always update help pages
Message-ID: <4665E76C.3050708@fhcrc.org>

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.



[Rd] 'R CMD INSTALL mypkg' doesn't always update help pages
Herve Pages