On Wed, 23 Feb 2011, Jannis wrote:
> Dear list,
>
> i would like to build an own package using:
>
> R CMD INSTALL --html --build --auto-zip -l folder spectral.methods
>
> it seems to succeed as I get the following messages:
>
> * installing *source* package 'spectral.methods' ...
> ** R
> ** data
> Warning: empty 'data' directory
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> converting help for package 'spectral.methods'
> finding HTML links ... done
> filter.tseries.SSA html
> gapfilling.SSA html
> spectral.methods-package html
> ** building package indices ...
> ** testing if installed package can be loaded
> * MD5 sums
> packaged installation of 'spectral.methods' as
spectral.methods_1.0.zip
>
> * DONE (spectral.methods)
>
> I can also load the package using library('spectral.methods') and
> everything seems to work fine. The way I understand the R CMD
> INSTALL command, however, lets me to expect that a zipped directory
> is created which does not happen.
Well, it said it was:
> packaged installation of 'spectral.methods' as
spectral.methods_1.0.zip
and that is how all the CRAN binaries are made. So look for a file of
that name.
> Do I need to zip the folder
> independently? Do I need to install some sort of zipping program?
You did, in Rtools ....
> I have installed rtools.
>
> Cheers
> Jannis
--
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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595