Running examples in ‘lmerTest-Ex.R’ failed
The error most likely occurred in:

> ### Name: contest.lmerModLmerTest
> ### Title: Test of Contrasts
> ### Aliases: contest.lmerModLmerTest contest.lmerMod
> 
> ### ** Examples
> 
> 
> data("sleepstudy", package="lme4")
> fm <- lmer(Reaction ~ Days + I(Days^2) + (1|Subject) + (0+Days|Subject),
+            sleepstudy)
> # F-test of third coeffcients - I(Days^2):
> contest(fm, c(0, 0, 1))
    Sum Sq  Mean Sq NumDF    DenDF  F value    Pr(>F)
1 1079.503 1079.503     1 144.6311 1.659144 0.1997759
> # Equivalent t-test:
> contest(fm, L=c(0, 0, 1), joint=FALSE)
   Estimate Std. Error       df  t value      lower     upper  Pr(>|t|)
1 0.3370223  0.2616475 144.6311 1.288078 -0.1801245 0.8541692 0.1997759
> # Test of 'Days + I(Days^2)':
> contest(fm, L=diag(3)[2:3, ])
    Sum Sq  Mean Sq NumDF    DenDF  F value       Pr(>F)
1 30399.15 15199.57     2 54.40752 23.36102 4.744897e-08
> # Other options:
> contest(fm, L=diag(3)[2:3, ], joint=FALSE)
   Estimate Std. Error       df  t value      lower      upper   Pr(>|t|)
1 7.4340850  2.8242827 114.9943 2.632203  1.8397217 13.0284483 0.00964808
2 0.3370223  0.2616475 144.6311 1.288078 -0.1801245  0.8541692 0.19977590
> contest(fm, L=diag(3)[2:3, ], joint=FALSE, collect=FALSE)
[[1]]
   Estimate Std. Error       df  t value      lower      upper   Pr(>|t|)
1 7.4340850  2.8242827 114.9943 2.632203  1.8397217 13.0284483 0.00964808
2 0.3370223  0.2616475 144.6311 1.288078 -0.1801245  0.8541692 0.19977590

> 
> # Illustrate a list argument:
> L <- list("First"=diag(3)[3, ], "Second"=diag(3)[-1, ])
> contest(fm, L)
          Sum Sq   Mean Sq NumDF     DenDF   F value       Pr(>F)
First   1079.503  1079.503     1 144.63110  1.659144 1.997759e-01
Second 30399.146 15199.573     2  54.40752 23.361016 4.744897e-08
> contest(fm, L, collect = FALSE)
$First
    Sum Sq  Mean Sq NumDF    DenDF  F value    Pr(>F)
1 1079.503 1079.503     1 144.6311 1.659144 0.1997759

$Second
    Sum Sq  Mean Sq NumDF    DenDF  F value       Pr(>F)
1 30399.15 15199.57     2 54.40752 23.36102 4.744897e-08

> contest(fm, L, joint=FALSE, confint = FALSE)
          Estimate Std. Error       df  t value   Pr(>|t|)
First    0.3370223  0.2616475 144.6311 1.288078 0.19977590
Second.1 7.4340850  2.8242827 114.9943 2.632203 0.00964808
Second.2 0.3370223  0.2616475 144.6311 1.288078 0.19977590
> contest(fm, L, joint=FALSE, collect = FALSE, level=0.99)
$First
   Estimate Std. Error       df  t value      lower    upper  Pr(>|t|)
1 0.3370223  0.2616475 144.6311 1.288078 -0.3459429 1.019988 0.1997759

$Second
   Estimate Std. Error       df  t value       lower     upper   Pr(>|t|)
1 7.4340850  2.8242827 114.9943 2.632203  0.03655396 14.831616 0.00964808
2 0.3370223  0.2616475 144.6311 1.288078 -0.34594295  1.019988 0.19977590

> 
> # Illustrate testing of estimability:
> # Consider the 'cake' dataset with a missing cell:
> data("cake", package="lme4")
> cake$temperature <- factor(cake$temperature, ordered=FALSE)
> cake <- droplevels(subset(cake, temperature %in% levels(cake$temperature)[1:2] &
+                             !(recipe == "C" & temperature == "185")))
> with(cake, table(recipe, temperature))
      temperature
recipe 175 185
     A  15  15
     B  15  15
     C  15   0
> fm <- lmer(angle ~ recipe * temperature + (1|recipe:replicate), cake)
fixed-effect model matrix is rank deficient so dropping 1 column / coefficient
Warning in qr2rankMatrix(q.r, tol = tol, isBqr = x.dense, do.warn = warn.qr) :
  qr2rankMatrix(.): QR has negative diag(R) entries
Error: Dropping columns failed to produce full column rank design matrix
Execution halted