[R] package error message

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Sep 28 15:35:10 CEST 2004


Samuel Kemp wrote:

> Hi,
> 
> I am trying to make my own package in Windows XP with R 1.9.1. using 
> Rcmd build/ Rcmd.
> 
> The initial Rcmd build compiles ok with no error messages. However, when 
> I run Rcmd check it runs ok up until
> 
> * checking for file 'GammaTest/DESCRIPTION' ... OK
> * checking if this is a source package ... OK
> * checking whether package 'GammaTest' can be installed ... ERROR
> Installation failed.
> See 'c:/Documents and Settings/Samuel Kemp/My Documents/R 
> Files/GammaTest.Rcheck/00install.out' for details.
> 
> This file contains the following.....
> 
> installing R.css in c:/DOCUME~1/SAMUEL~1/MYDOCU~1/RFILES~1/GAMMAT~1.RCH

It's still a bad idea (even if this is not the reason for the error 
below, I guess) to have blanks in your path names.



> ---------- Making package GammaTest ------------
>  adding build stamp to DESCRIPTION
> make[2]: *** No rule to make target `R/Create', needed by 
> `c:/DOCUME~1/SAMUEL~1/MYDOCU~1/RFILES~1/GAMMAT~1.RCH/GammaTest/R/GammaTest'.  
> Stop.
> make[1]: *** [all] Error 2
> make: *** [pkg-GammaTest] Error 2
> *** Installation of GammaTest failed ***

Have you followed "Writing R Extensions" and the file 
./src/gnuwin32/readme.packages EXACTLY ?

Try to start with the most simple package and add functions step by 
step. Is your DESCRIPTION file OK?

Uwe Ligges



> Can anyone shed light on what it is trying to tell me?
> 
> Cheers,
> 
> Sam.
> 
> ______________________________________________
> 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




More information about the R-help mailing list