[R] small error in regression tests

apjaworski@mmm.com apjaworski at mmm.com
Fri Mar 14 00:00:00 CET 2003


I just r-sync'ed the r-devel version of R-1.7.0 (2003-03-11), compiled it
under RH-8.0 and ran make check.  The reg-tests-2 fails at the very end
with the message stating that "object cement was not found".  It looks like
this piece of the regression test is new to version 1.7.  The the piece of
code generating the error is:

if(require(MASS)) {
    teststep <- function(formula, data)
    {
        d2 <- data
        fit <- lm(formula, data=d2)
        step(fit)
    }
    teststep(formula(y ~ .), cement)
    detach("package:MASS")
}

It seems that it requires
        data(cement)
statement before the call to teststep.


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



More information about the R-help mailing list