[Rd] Puzzling behavior while testing

From: Terry Therneau <therneau_at_mayo.edu>
Date: Tue, 27 Nov 2012 15:50:36 -0600

I'm testing a new release of survival, executing the following piece of code:

for (testpkg in survdep) {

     z <- testInstalledPackage(testpkg, outDir="tests")
     cat(testpkg, c("Ok", "Failed")[z+1], "\n", file="progress", append=T)

The vector survdep contains the names of all 156 packages listed as reverse depends on the CRAN page for survival.

All works well except for the packages coin and compareGroups. If we make the survdep list contain only those 2 then the last line above "cat..." fails with "testpkg not found". Running ls() at that point shows a set of variables I didn't define, and no evidence of any of "testpkg", "survdep", or anything else I'd defined. My prompt has been changed to "R>" as well.

Any idea what is happening?

Terry Therneau

Here is the text just before starting the loop
> sessionInfo()

R version 2.15.2 (2012-10-26)
Platform: i686-pc-linux-gnu (32-bit)


  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C
  [7] LC_PAPER=C                 LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C

attached base packages:
[1] tools stats graphics grDevices utils datasets methods [8] base

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 27 Nov 2012 - 21:53:38 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 27 Nov 2012 - 22:31:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive