From ripley at stats.ox.ac.uk  Tue Apr  5 10:23:13 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue Apr  5 10:23:24 2005
Subject: [Rd] intentional changes in rw2010alpha?
In-Reply-To: <42516AF5.90000@acelerate.com>
References: <42516AF5.90000@acelerate.com>
Message-ID: <Pine.LNX.4.61.0504050911250.16251@gannet.stats>

On Mon, 4 Apr 2005, Kjetil Brinchmann Halvorsen wrote:

> Is this changes intentional?

The description of what happened (and still happens) is wrong ....

> Now
>
> Rcmd INSTALL --build --clean myPkg
>
> builds the tar.gz, and only then cleans. Also, files left by xemacs like
> myfile~ are now included in the tar.gz. I think this were excluded before?
>
> Intentional?

Rcmd INSTALL --build  does not build a .tar.gz, but a .zip!

I think you are confusing it with Rcmd build.  The documented process is

1) Use R CMD build to build myPkg_ver.tar.gz, the source package.
2) Use R CMD INSTALL --build myPkg_ver.tar.gz to build myPkg_ver.zip, the 
binary package for distribution.

The --clean you are using refers to cleaning e.g. src/*.a after the 
install, not to cleaning the sources.  That has not changed:
Rcmd INSTALL --help says

   -c, --clean           remove all files created during installation
                                                  ^^^^^^^^^^^^^^^^^^^


-- 
Brian D. Ripley,                  ripley@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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] intentional changes in rw2010alpha?
Prof Brian Ripley