[R] make check failure with R-1.7.0

Patrick Connolly p.connolly at hortresearch.co.nz
Thu Apr 17 02:05:22 CEST 2003


I'm baffled.  When I run make check after installing from source, I
get a Error 2.  From my understanding of how these things work, it
would appear to be coming from this (as at the end of base-Ex.Rout.fail:


> has.VR <- require(MASS, quietly = TRUE)

Attaching package 'MASS':


	The following object(s) are masked from package:base :

	 confint confint.lm nclass.FD nclass.scott vcov vcov.glm vcov.lm 

> if(!has.VR) {
+ ## From Venables and Ripley (2002) p.165.
+ N <- c(0,1,0,1,1,1,0,0,0,1,1,0,1,1,0,0,1,0,1,0,1,1,0,0)
+ P <- c(1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,0,0,1,0,1,1,0)
+ K <- c(1,0,0,1,0,1,1,0,0,1,0,1,0,1,1,0,0,0,1,1,1,0,1,0)
+ yield <- c(49.5,62.8,46.8,57.0,59.8,58.5,55.5,56.0,62.8,55.8,69.5,55.0,
+            62.0,48.8,45.5,44.2,52.0,51.5,49.8,48.8,57.2,59.0,53.2,56.0)
+ npk <- data.frame(block=gl(6,4), N=factor(N), P=factor(P),
+                   K=factor(K), yield=yield)
+ }
> 
> op <- options(contrasts=c("contr.helmert", "contr.poly"))
> npk.aov <- aov(yield ~ block + N*P*K, npk)
Error in terms.formula(formula, "Error", data = data) : 
	Object "npk" not found
Execution halted


Why would npk not be found?

best


-- 
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand 
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it.  ---Steven Wright 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~



More information about the R-help mailing list