[R] 1.4.1 R CMD check broken?

Uwe Ligges
Wed, 30 Jan 2002 21:53:06 -0000

apjaworski at mmm.com wrote:
>
> I am not sure if this is already known.  I checked BUGS and found some
> references to similar behavior when R_HOME is set?
>
> Here is what I get:
>
> (1) Fresh build of 1.4.1 under Linux/RH-7.2. All tests pass.
>
>       > R CMD check ctest
>      * checking for working latex ... OK
>      * using log directory
`/home/andyj/stat/R-1.4.1/library/ctest.Rcheck'

I see, you are running R CMD check on the binary version of the package.
The binaries were made during the "global":

 ./configure
 make


>      Installing *source* package `ctest' ...
>       R
>       help
>       >>> Building/Updating help pages for package `ctest'
>       Formats: text html latex example
>
>       At this point R hangs.
>
> (2) Just installed 1.4.1 on Win200 using Prof. Ripley single file installer
>
>      c:/R/rw1041/library > Rcmd.exe check ctest

The binary package is installed at this place, but Rcmd CHECK is
designed for the source package.


>      * checking for working latex ... OK
>      * using log directory `/cygdrive/c/R/rw1041/library/ctest.Rcheck'
>
>      make: Entering directory `/cygdrive/c/R/rw1041/src/gnuwin32'
>      make DLLNM= \
>      -C /cygdrive/c/R/rw1041/library/ctest PKG=ctest
> RHOME=/cygdrive/c/R/rw1041 RLI
>      B=/cygdrive/c/R/rw1041/library/ctest.Rcheck \
>      -f /cygdrive/c/R/rw1041/src/gnuwin32/MakePkg
>      make[1]: Entering directory `/cygdrive/c/R/rw1041/library/ctest'
>      ---------- Making package ctest ------------
>      mkdir -p /cygdrive/c/R/rw1041/library/ctest.Rcheck/ctest
>      cp -r   ./INDEX  ./TITLE ./CONTENTS ./R-ex ./chtml ./help ./html
> ./latex ./libs
>      /cygdrive/c/R/rw1041/library/ctest.Rcheck/ctest/
>      adding build stamp to DESCRIPTION
>      no R files in this package

Right, because it's the binary version, and CHECK makes no sense.


>      installing man source files
>
>      At this point Rcmd hangs also.
>
> In both cases the problems seems to be that the $R_HOME/library/ctest/R
> never gets copied to the ctest.Rcheck/ctest.  In the Windows case there is
> no man directory in ctest, but an empty one is created in ctest.Rcheck.


Uwe Ligges