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 ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
On Thu, 17-Apr-2003 at 12:05PM +1200, Patrick Connolly wrote: |> 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? OK, it's somewhat clearer now. Since npk is only created if !has.VR is TRUE, it won't happen unless MASS isn't available. I don't think that's the intention. But everyone who doesn't have an npk object will have the same problem, so I'd expect that means everyone who runs that script. Anyone with a better experience? 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 ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
On Thu, 17-Apr-2003 at 04:22AM +0200, Laurent Gautier wrote: |> I'm even more puzzled... I installed R1.7.0 from source |> and R check hangs on: |> make[3]: Entering directory `/home/laurent/R-release/tests' |> running code in 'internet.R' ... |> |> (Linux and Mdk9.1). |> |> |> Which OS did you compile it on ? Sorry. Forgot to mention: platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 7.0 year 2003 month 04 day 16 language R Redhat 7.3. I'm compiling without root access, which you appear to be doing. I got a lot further when I tinkered with the base-Ex.R file, seeming to have no problem with internet.R. You seem to be saying you didn't have the problem I had. I'd be interested to know how that could be. You should be able to find a 'fail' file to see what didn't work. In your case, it would be /home/laurent/R-release/tests/internet.Rout.fail I've run into another one with some data called cement at the end (line 871) of reg-tests-2.Rout. So far, I can't work out where it should be findable from. Ideas welcome. 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 ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~