[R] Error while making R package

Gabor Grothendieck ggrothendieck at gmail.com
Sat May 10 19:41:11 CEST 2008


There isn't enough information there to really know but I would at least
try this:

- upgrade to R 2.7
- make sure you are using the most recent version of rtools from
Duncan Murdoch's site
- remove the data directory in your package since its the last thing
referred to prior to the
errors
- if that still has a problem remove any vignettes too
- if you still have a problem remove all non-R code

On Thu, May 1, 2008 at 4:20 PM, Vidhu Choudhary
<vidhu.choudhary at gmail.com> 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
>
> Thank you
> Vidhu



More information about the R-help mailing list