[R] CONTENTS, TITLE not generated

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Mon Aug 19 10:31:16 CEST 2002


On Mon, 19 Aug 2002, Christian Hoffmann wrote:

> Using   R Version 1.5.0  (2002-04-29)  under Solaris I am reinstalling own
> packages useing the script
>
> #!/bin/csh
> cd ~/R/Sources
> R CMD check --no-latex --no-perms --no-install $1
> R CMD INSTALL --library=lib $1
> R CMD Rdindex $1 > INDEX
> R CMD build --force $1
>
> Everything echoes with OK, *but* the files CONTENTS and TITLE will not be
> generated. What has changed in the process of compilation?

I bet they are generated, in the place you installed the packages.  They
are not part of the sources and not written in the source tree.

There is no point in building the INDEX and then running `R CMD build
--force' which rebuilds it.

If you really want to re-install, just use

R CMD INSTALL --library=lib $1

If you want to check the sources and then keep a .tar.gz for distribution,
use

R CMD check $1
R CMD build --force $1

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list