[R] Error while making R package

Tobias Verbeke tobias.verbeke at telenet.be
Fri May 2 10:26:42 CEST 2008


(Comments inline)

Uwe Ligges wrote:

> No idea, can you make the package available for us (after R CMD build)?

> Vidhu Choudhary wrote:
>> Hi All,
>> I am trying to make R package using R 2.6.2
>> And I am getting following error.
>>
>> When I give R CMD check t1\
>>
>> ---------- Making package t1 ------------
>>   adding build stamp to DESCRIPTION
>>   making DLL ...
>> making CGHseg_rewrite.d from CGHseg_rewrite.c
>> making rowMedians.d from rowMedians.c
>> making runavg.d from runavg.c
>> gcc-sjlj  -std=gnu99  -Ic:/R/R-2.6.2/include     -O3 -Wall  -c
>> CGHseg_rewrite.c -o CGHseg_rewrite.o
>> gcc-sjlj  -std=gnu99  -Ic:/R/R-2.6.2/include     -O3 -Wall  -c 
>> rowMedians.c
>> -o rowMedians.o
>> gcc-sjlj  -std=gnu99  -Ic:/R/R-2.6.2/include     -O3 -Wall  -c 
>> runavg.c -o
>> runavg.o
>> windres --preprocessor="gcc-sjlj -E -xc -DRC_INVOKED" -I
>> c:/R/R-2.6.2/include  -i t1_res.rc -o t1_res.o
>> gcc-sjlj  -std=gnu99  -shared -s  -o t1.dll t1.def CGHseg_rewrite.o
>> rowMedians.o runavg.o t1_res.o  -Lc:/R/R-2.6.2/bin    -lR
>>   ... DLL made
>>   installing DLL
>>   installing R files
>>   installing data files
>> rm: failed to get attributes of `/': No such file or directory
>> make[2]: *** [C:/Vidhu/CGH/RPackage/t1.Rcheck/t1/data] Error 1
>> make[1]: *** [all] Error 2
>> make: *** [pkg-t1] Error 2
>> *** Installation of t1 failed ***
>>
>>
>> Can you please suggest what could be the probable cause of the error

This problem has already been reported and dealt with
by Duncan Murdoch, cf.

https://stat.ethz.ch/pipermail/r-devel/2008-January/048035.html

HTH,
Tobias


>>
>> Thank you
>> Vidhu
>>
>>     [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide 
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
>



More information about the R-help mailing list