Kjetil Brinchmann Halvorsen
2005-Apr-04 20:43 UTC
[Rd] intentional changes in rw2010alpha?
Is this changes intentional? 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? -- Kjetil Halvorsen. Peace is the most effective weapon of mass construction. -- Mahdi Elmandjra -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus.
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