[Rd] R CMD check

jing hua zhao jinghuazhao at hotmail.com
Wed Sep 14 10:42:12 CEST 2005


Dear r-devel members,

I tried to build R packages on a PC running Windows XP but experience 
problems. However, it is ok when there is no inst directory in a package.

Any help would be appreciated.

The following is an example,

C:\work>R CMD check VR_7.2-19.tar.gz
* checking for working latex ... OK
* using log directory 'C:/work/VR.Rcheck'
* using R version 2.1.1, 2005-06-20
* checking for file 'VR/DESCRIPTION' ... OK
* looks like 'VR' is a package bundle
* this is bundle 'VR' version '7.2-19'
* checking if this is a source bundle ... OK

installing R.css in C:/work/VR.Rcheck

Looks like `C:/work/VR.Rcheck/00_pkg_src/VR' is a package bundle


---------- Making package MASS ------------
  adding build stamp to DESCRIPTION
  installing NAMESPACE file and metadata
  making DLL ...
making MASS.d from MASS.c
making lqs.d from lqs.c
gcc   -Ic:/PROGRA~1/r/rw2011/include -Wall -O2   -c MASS.c -o MASS.o
gcc   -Ic:/PROGRA~1/r/rw2011/include -Wall -O2   -c lqs.c -o lqs.o
ar cr MASS.a MASS.o lqs.o
ranlib MASS.a
windres --include-dir c:/PROGRA~1/r/rw2011/include  -i MASS_res.rc -o 
MASS_res.

gcc  --shared -s  -o MASS.dll MASS.def MASS.a MASS_res.o  
-c:/PROGRA~1/r/rw201/src/gnuwin32   -lg2c -lR
  ... DLL made
  installing DLL
  installing R files
  installing inst files
FIND: Parameter format not correct
make[2]: *** [C:/work/VR.Rcheck/MASS/inst] Error 2
make[1]: *** [all] Error 2
make: *** [pkg-MASS] Error 2
*** Installation of MASS failed ***

ERROR
Installation failed.

C:\work> path

PATH=C:\texmf\miktex\bin;C:\Perl\bin\;C:\Program 
Files\Insightful\splus62\;C:\WI
NDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\Hummingbird\
Connectivity\9.00\Accessories\;C:\Program Files\Common 
Files\GTK\2.0\bin;C:\Prog
ram Files\WinSCP3\;C:\Program Files\PC-Pine



Jing Hua Zhao



More information about the R-devel mailing list