Any chance that you might have a personal library, which isn't versioned? If you do and you for some reason installed survival into it, it would explain it.
E.g., I have, with the system-wide R > .libPaths() [1] "/Users/pd/Library/R/2.15/library" [2] "/opt/local/Library/Frameworks/R.framework/Versions/2.15/Resources/library" > lapply(.libPaths(), list.files) [[1]] [1] "abind" "aplpack" "car" "colorspace" "e1071" [6] "effects" "ellipse" "Hmisc" "ISwR" "leaps" [11] "lmtest" "matrixcalc" "mclust" "multcomp" "mvtnorm" [16] "pcaPP" "Rcmdr" "relimp" "represent" "rgl" [21] "robustbase" "rrcov" "sem" "xtable" "zoo" [[2]] [1] "base" "boot" "class" "cluster" "codetools" [6] "compiler" "datasets" "foreign" "graphics" "grDevices" [11] "grid" "KernSmooth" "lattice" "MASS" "Matrix" [16] "methods" "mgcv" "nlme" "nnet" "parallel" [21] "rpart" "spatial" "splines" "stats" "stats4" [26] "survival" "tcltk" "tools" "utils" but the one in my development build tree of 3.0.0 has > .libPaths() [1] "/Users/pd/r-release-branch/BUILD-dist/library" If I explicitly set R_LIBS, I can easily reproduce your error. On Apr 3, 2013, at 17:00 , Paul Gilbert wrote: > > "make check" is failing on reg-test3.R with a message that survival was built > with an older version of R. (On my Ubuntu 32 bit and Ubuntu 64 bit > machines). Why would "make check" be looking anywhere that it would find > something built with an older version of R? > > ~/RoboAdmin/R-3.0.0/tests$ tail reg-tests-3.Rout.fail > > print(1.001, digits=16) > [1] 1.001 > > ## 2.4.1 gave 1.001000000000000 > > ## 2.5.0 errs on the side of caution. > > > > > > ## as.matrix.data.frame with coercion > > library(survival) > Error: package 'survival' was built before R 3.0.0: please re-install it > Execution halted > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd....@cbs.dk Priv: pda...@gmail.com ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel