Running ‘AAAtest-all.R’ [40s/65s]
  Running ‘HSAURtrees.R’ [2s/4s]
  Running ‘REMLdev.R’ [2s/4s]
  Running ‘ST.R’ [2s/3s]
  Running ‘agridat_gotway.R’ [4s/7s]
  Running ‘bootMer.R’ [7s/19s]
  Running ‘boundary.R’ [8s/13s]
  Running ‘confint.R’ [4s/7s]
  Running ‘devCritFun.R’ [2s/4s]
  Running ‘drop.R’ [3s/4s]
  Running ‘drop1contrasts.R’ [3s/4s]
  Running ‘dynload.R’ [0s/1s]
  Running ‘elston.R’ [3s/4s]
  Running ‘evalCall.R’ [3s/4s]
  Running ‘extras.R’ [2s/4s]
  Running ‘falsezero_dorie.R’ [2s/3s]
  Running ‘fewlevels.R’ [0s/1s]
  Running ‘getME.R’ [3s/4s]
  Running ‘glmer-1.R’ [4s/7s]
  Running ‘glmerControlPass.R’ [6s/9s]
  Running ‘glmerWarn.R’ [3s/5s]
  Running ‘glmmExt.R’ [7s/11s]
  Running ‘glmmWeights.R’ [7s/10s]
  Running ‘hatvalues.R’ [3s/4s]
  Running ‘is.R’ [3s/4s]
  Running ‘lmList-tst.R’ [3s/4s]
  Running ‘lme4_nlme.R’ [3s/5s]
  Running ‘lmer-0.R’ [3s/4s]
  Running ‘lmer-1.R’ [2s/4s]
  Comparing ‘lmer-1.Rout’ to ‘lmer-1.Rout.save’ ... OK
  Running ‘lmer-conv.R’ [2s/5s]
  Running ‘lmer2_ex.R’ [2s/4s]
  Running ‘methods.R’ [3s/6s]
  Running ‘minval.R’ [2s/4s]
  Running ‘modFormula.R’ [3s/6s]
  Running ‘nbinom.R’ [2s/4s]
  Running ‘nlmer-conv.R’ [2s/5s]
  Running ‘nlmer.R’ [3s/5s]
  Comparing ‘nlmer.Rout’ to ‘nlmer.Rout.save’ ... OK
  Running ‘offset.R’ [3s/5s]
  Running ‘optimizer.R’ [5s/8s]
  Running ‘polytomous.R’ [2s/4s]
  Running ‘prLogistic.R’ [2s/3s]
  Running ‘predict_basis.R’ [3s/6s]
  Running ‘predsim.R’ [3s/5s]
  Running ‘priorWeights.R’ [7s/10s]
  Running ‘priorWeightsModComp.R’ [4s/6s]
  Running ‘profile-tst.R’ [2s/5s]
  Running ‘refit.R’ [2s/4s]
  Running ‘resids.R’ [3s/4s]
  Running ‘respiratory.R’ [7s/11s]
  Running ‘simulate.R’ [2s/4s]
  Running ‘testOptControl.R’ [3s/4s]
  Running ‘testcolonizer.R’ [3s/5s]
  Running ‘testcrab.R’ [8s/11s]
  Running ‘throw.R’ [4s/7s]
  Running ‘varcorr.R’ [3s/6s]
  Running ‘vcov-etc.R’ [3s/4s]
Running the tests in ‘tests/offset.R’ failed.
Complete output:
  > ## simple examples with offsets, to exercise methods etc.
  > 
  > library(lme4)
  Loading required package: Matrix
  > 
  > if (.Platform$OS.type != "windows") {
  + ## generate a basic Gamma/random effects sim
  + set.seed(101)
  + d <- expand.grid(block=LETTERS[1:26],rep=1:100)
  + d$x <- runif(nrow(d))  ## sd=1
  + reff_f <- rnorm(length(levels(d$block)),sd=1)
  + ## need intercept large enough to avoid negative values
  + d$eta0 <- 4+3*d$x  ## version without random effects
  + d$eta <- d$eta0+reff_f[d$block]
  + 
  + ## lmer() test:
  + d$mu <- d$eta
  + d$y <- rnorm(nrow(d),mean=d$mu,sd=1)
  + 
  + fm1 <- lmer(y~x+(1|block),data=d)
  + fm1off <- lmer(y~x+(1|block)+offset(3*x),data=d)
  + 
  + ## check equality
  + stopifnot(all.equal(fixef(fm1)[2]-3,fixef(fm1off)[2]))
  + 
  + p0 <- predict(fm1)
  + p1 <- predict(fm1,newdata=d)
  + p2 <- predict(fm1off,newdata=d)
  + stopifnot(all.equal(p0,p1,p2))
  + 
  + 
  + ## glmer() test:
  + d$mu <- exp(d$eta)
  + d$y <- rpois(nrow(d),d$mu)
  + 
  + gm1 <- glmer(y~x+(1|block),data=d,family=poisson,
  +              control=glmerControl(check.conv.grad="ignore"))
  + gm1off <- glmer(y~x+(1|block)+offset(3*x),data=d,family=poisson,
  +                 control=glmerControl(check.conv.grad="ignore"))
  + 
  + ## check equality
  + stopifnot(all.equal(fixef(gm1)[2]-3,fixef(gm1off)[2],tolerance=3e-4))
  + 
  + p0 <- predict(gm1)
  + p1 <- predict(gm1,newdata=d)
  + p2 <- predict(gm1off,newdata=d)
  + stopifnot(all.equal(p0,p1,p2))
  + 
  + ## FIXME: should also test simulations
  + } ## skip on windows (for speed)
  Error in all.equal.numeric(p0, p1, p2) : 
    length(tolerance) == 1L is not TRUE
  Calls: stopifnot ... all.equal -> all.equal -> all.equal.numeric -> stopifnot
  Execution halted