[R] small error in regression tests

About this list Date view Thread view Subject view Author view Attachment view

From: apjaworski@mmm.com
Date: Fri 14 Mar 2003 - 10:00:00 EST


Message-id: <OF0DE2B9EB.0B251048-ON86256CE8.007D35FA@mmm.com>

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@mmm.com
Tel: (651) 733-6092
Fax: (651) 736-3122

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:25 EST