Displaying 2 results from an estimated 2 matches for "teststep".
Did you mean:
teastep
2003 Mar 13
1
small error in regression tests
...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
_______...
2003 Mar 13
1
small error in regression tests
...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
_______...