Running ‘testthat-a_m.R’ [66s/162s]
  Running ‘testthat-n_z.R’ [12s/30s]
Running the tests in ‘tests/testthat-a_m.R’ failed.
Complete output:
  > library(testthat)
  > library(merTools)
  Loading required package: arm
  Loading required package: MASS
  Loading required package: Matrix
  Loading required package: lme4
  
  arm (Version 1.10-1, built: 2018-4-12)
  
  Working directory is /data/gannet/ripley/R/packages/tests-devel/merTools.Rcheck/tests
  
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:MASS':
  
      select
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("merTools", filter = "^[a-m]")
  ── 1. Error: Median of prediction interval is close to predict.lmer for single g
  sigma must be a symmetric matrix
  1: predictInterval(fm1, newdata = sleepstudy, n.sims = 1500, level = 0.9, stat = c("median"), 
         include.resid.var = FALSE, seed = 9598) at testthat/test-merPredict.R:261
  2: as.matrix(mvtnorm::rmvnorm(n = n.sims, mean = meanTmp, sigma = matrixTmp, method = "chol"))
  3: mvtnorm::rmvnorm(n = n.sims, mean = meanTmp, sigma = matrixTmp, method = "chol")
  4: stop("sigma must be a symmetric matrix")
  
  ── 2. Error: Output is correct dimensions (@test-merPredict.R#582)  ────────────
  sigma must be a symmetric matrix
  1: predictInterval(m1, which = "random") at testthat/test-merPredict.R:582
  2: as.matrix(mvtnorm::rmvnorm(n = n.sims, mean = meanTmp, sigma = matrixTmp, method = "chol"))
  3: mvtnorm::rmvnorm(n = n.sims, mean = meanTmp, sigma = matrixTmp, method = "chol")
  4: stop("sigma must be a symmetric matrix")
  
  ── 3. Error: Compare random, fixed, include-resid (@test-merPredict.R#632)  ────
  sigma must be a symmetric matrix
  1: predictInterval(m1) at testthat/test-merPredict.R:632
  2: as.matrix(mvtnorm::rmvnorm(n = n.sims, mean = meanTmp, sigma = matrixTmp, method = "chol"))
  3: mvtnorm::rmvnorm(n = n.sims, mean = meanTmp, sigma = matrixTmp, method = "chol")
  4: stop("sigma must be a symmetric matrix")
  
  ── 4. Error: Default is set to all effects (@test-merPredict.R#712)  ───────────
  sigma must be a symmetric matrix
  1: predictInterval(m1, seed = 8231) at testthat/test-merPredict.R:712
  2: as.matrix(mvtnorm::rmvnorm(n = n.sims, mean = meanTmp, sigma = matrixTmp, method = "chol"))
  3: mvtnorm::rmvnorm(n = n.sims, mean = meanTmp, sigma = matrixTmp, method = "chol")
  4: stop("sigma must be a symmetric matrix")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 286 SKIPPED: 20 FAILED: 4
  1. Error: Median of prediction interval is close to predict.lmer for single group models (@test-merPredict.R#261) 
  2. Error: Output is correct dimensions (@test-merPredict.R#582) 
  3. Error: Compare random, fixed, include-resid (@test-merPredict.R#632) 
  4. Error: Default is set to all effects (@test-merPredict.R#712) 
  
  Error: testthat unit tests failed
  Execution halted