Re: [R] Error while making R package

From: Tobias Verbeke <tobias.verbeke_at_telenet.be>
Date: Fri, 02 May 2008 10:26:42 +0200

(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.
> 
>

______________________________________________
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. Received on Fri 02 May 2008 - 08:35:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 09 May 2008 - 17:30:37 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive