From Gregor.Gorjanc at bfro.uni-lj.si  Fri Oct 20 15:48:58 2006
From: Gregor.Gorjanc at bfro.uni-lj.si (Gorjanc Gregor)
Date: Fri, 20 Oct 2006 15:48:58 +0200
Subject: [Rd] R CMD check/build --binary fail with data/RCS map
Message-ID: <7FFEE688B57D7346BC6241C55900E730F31C96@pollux.bfro.uni-lj.si>

Hello,

On Windows XP using R 2.4.0pat (2006-10-19 r39674) from CRAN (sorry, no 
r-devel) R CMD check of R CMD build --binary fails if package has RCS 
folder in data map. This does not happen on my Debian GNU/Linux box with 
R 2.4.0 (2006-10-03). Is this a bug?

Here is the transript from the command prompt

C:\Programs\R>R CMD check test
* checking for working latex ... OK
* using log directory 'C:/Programs/R/test.Rcheck'
* using R version 2.4.0 Patched (2006-10-19 r39674)
* checking for file 'test/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'test' version '0.1'
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking whether package 'test' can be installed ... ERROR
Installation failed.
See 'C:/Programs/R/test.Rcheck/00install.out' for details.

and the contents of C:/Programs/R/test.Rcheck/00install.out

installing R.css in C:/Programs/R/test.Rcheck


---------- Making package test ------------
  adding build stamp to DESCRIPTION
  installing NAMESPACE file and metadata
  installing R files
  installing data files
cp: omitting directory `data/RCS'
make[2]: *** [C:/Programs/R/test.Rcheck/test/data] Error 1
make[1]: *** [all] Error 2
make: *** [pkg-test] Error 2
*** Installation of test failed ***

Removing 'C:/Programs/R/test.Rcheck/test'

I have also attached test package.

Lep pozdrav / With regards,
    Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty        URI: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department     mail: gregor.gorjanc <at> bfro.uni-lj.si
Groblje 3                   tel: +386 (0)1 72 17 861
SI-1230 Domzale             fax: +386 (0)1 72 17 888
Slovenia, Europe
----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.
----------------------------------------------------------------------



-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_0.1.tar.gz
Type: application/x-gzip
Size: 672 bytes
Desc: test_0.1.tar.gz
Url : https://stat.ethz.ch/pipermail/r-devel/attachments/20061020/23e284eb/attachment-0004.gz 


[Rd] R CMD check/build --binary fail with data/RCS map
Gorjanc Gregor