[R] Problem in building a package in R 2.0.0
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Oct 31 13:35:39 CET 2004
Please read what it says about installing R in a path containing spaces in
README.packages. I don't know if this is due to the sources being in a
path with spaces in or the package, although I expect the former as I can
build packages in paths with spaces in by using the short form as
recommended.
To quote:
BEWARE: Don't expect this to work if the path to R_HOME contains spaces.
It may work, but we don't recommend it.
There is another error: you have WINHELP set to YES and have not installed
HHW.
On Sun, 31 Oct 2004, Mikis Stasinopoulos wrote:
> Dear all
>
> I am trying to build a package in Windows.
> I use the following command (which it used to work with previous
> versions ) and I am getting the following error
>
>
> #--------------------------------------------------------------------------------------------------------------
> C:\PROGRA~1\R\rw2000\bin>Rcmd build --binary --use-zip
> C:\PROGRA~1\R\rw2000\src\library\gamlss
> * checking for file
> 'C:\PROGRA~1\R\rw2000\src\library\gamlss/DESCRIPTION' ... OK
>
> installing R.css in c:/TEMP/Rbuild.1520
>
>
> ---------- Making package gamlss ------------
> adding build stamp to DESCRIPTION
> installing R files
> installing inst files
> installing data files
> preparing package gamlss for lazy data loading
> installing man source files
> installing indices
> zipping data
> installing help
> >>> Building/Updating help pages for package 'gamlss'
> Formats: text html latex example chm
> BB text html latex example
> BCPE text html latex example
> BCt text html latex example
> BI text html latex example
> ......
> update.gamlss text html latex example
> usair text html latex example
> wp text html latex example
> zipping help files
> hhc: not found
> preparing package gamlss for lazy loading
> Error in tools:::.read_description(file) :
> file '/DESCRIPTION' does not exist
> Execution halted
> make: *** [lazyload] Error 1
> *** Installation of gamlss failed ***
>
> Removing 'c:/TEMP/Rbuild.1520/gamlss'
> ERROR
> * installation failed
>
> * building 'gamlss_0.4-0.zip'
> Can't stat gamlss: No such file or directory
> zip warning: name not matched: gamlss
>
> zip error: Nothing to do! (try: zip -r9X
> C:/PROGRA~1/R/rw2000/bin/gamlss_0.4-0.z
> ip . -i gamlss)
> #---------------------------------------------------------------------------------------------
>
>
> It looks that .read_description() can not pick the DESCRIPTION file
> properly.
> Note that checking the package using "Rcmd check
> C:\PROGRA~1\R\rw2000\src\library\gamlss"
> works and that I can install the package locally using "make pkg-gamlss".
>
> Thanks
>
> Mikis Stasinopoulos
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
--
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
More information about the R-help
mailing list