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' 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 * 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 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. Andy __________________________________ Andy Jaworski Engineering Systems Technology Center 3M Center, 518-1-01 St. Paul, MN 55144-1000 ----- E-mail: apjaworski at mmm.com Tel: (651) 733-6092 Fax: (651) 736-3122 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
apjaworski at mmm.com writes:> 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' > > Installing *source* package `ctest' ... > R > help > >>> Building/Updating help pages for package `ctest' > Formats: text html latex example > > At this point R hangs.I wouldn't try this with the internal packages. Works fine with e.g. boot. Even for ctest, I get (OK, that r-patches is from Saturday) $ ~/R-devel/r-patched/BUILD/bin/R CMD check ctest * checking for working latex ... OK * using log directory `/home/pd/R-devel/r-patched/R/src/library/ctest.Rcheck' * looks like `ctest' is a base package * skipping installation test * checking package directory ... OK * checking for sufficient/correct file permissions ... OK -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 ctestThe 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 packageRight, 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 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Why do *you* need to check ctest? What were you going to do with it if it failed? My surmise is that you are running this in a binary installation, not in the source tree. No one said you could check on installed packages in a binary installation. On Wed, 30 Jan 2002 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' > > 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 > * 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 > 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.It shouldn't get copied: it should get installed. I think you are running this in a binary installation: at least on Windows it is not supposed to work except for addon packages or on a source installation. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thanks for all who responded to this. I guess I did nor realize that the check should only be run on the packages installed from sources. There was no particular reason for me to check ctest. I used to install R on my Win machine in the "Program Files" folder. The space in path seems to break some Perl scripts, so when I tried to run Rcmd check, it would complain that it could not find "C:/Program" or something similar. I installed the newest version in C:/R and was simply trying to see if I could run Rcmd check. Thanks again, Andy __________________________________ Andy Jaworski Engineering Systems Technology Center 3M Center, 518-1-01 St. Paul, MN 55144-1000 ----- E-mail: apjaworski at mmm.com Tel: (651) 733-6092 Fax: (651) 736-3122 apjaworski at mmm. com To: r-help at stat.math.ethz.ch cc: (bcc: Andrzej P. Jaworski/US-Corporate/3M/US) 01/30/2002 Subject: [R] 1.4.1 R CMD check broken? 03:19 PM 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' 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 * 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 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. Andy __________________________________ Andy Jaworski Engineering Systems Technology Center 3M Center, 518-1-01 St. Paul, MN 55144-1000 ----- E-mail: apjaworski at mmm.com Tel: (651) 733-6092 Fax: (651) 736-3122 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Wed, 30 Jan 2002 apjaworski at mmm.com wrote:> > Thanks for all who responded to this. > > I guess I did nor realize that the check should only be run on the packages > installed from sources. > > There was no particular reason for me to check ctest. I used to install R > on my Win machine in the "Program Files" folder. The space in path seems > to break some Perl scripts, so when I tried to run Rcmd check, it would > complain that it could not find "C:/Program" or something similar. I > installed the newest version in C:/R and was simply trying to see if I > could run Rcmd check.The warning is still there in (in several places) not to install in a path with spaces in if you want to use source packages. This is relaxed in R-devel, but not the sort of thing done in a patch release. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._