Running ‘testthat.R’ [246s/304s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat")) {
  +   library(testthat)
  +   library(lmeInfo)
  + 
  +   test_check("lmeInfo")
  + }
  Loading required namespace: testthat
  [ FAIL 8 | WARN 6 | SKIP 18 | PASS 1091 ]
  
  ══ Skipped tests (18) ══════════════════════════════════════════════════════════
  • On CRAN (18): 'test-against-merDeriv.R:92:3',
    'test-against-merDeriv.R:156:3', 'test-equivalent-pdClasses.R:22:3',
    'test-equivalent-pdClasses.R:93:3', 'test-multivariate-models.R:100:3',
    'test-multivariate-models.R:112:3', 'test-multivariate-models.R:124:3',
    'test-multivariate-models.R:136:3', 'test-multivariate-models.R:149:3',
    'test-multivariate-models.R:161:3', 'test-separate-random-effects.R:110:3',
    'test-three-level-models.R:114:3', 'test-three-level-models.R:137:3',
    'test-three-level-models.R:177:3', 'test-three-level-models.R:217:3',
    'test-two-level-models.R:180:3', 'test-two-level-models.R:198:3',
    'test-variance-structures.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-against-merDeriv.R:42:3'): lmeInfo results comparable to merDeriv for sleepstudy data, estimated by FML. ──
  `sigma_sq_lme4_FML` not equal to vc_FML$sigma_sq.
  1/1 mismatches
  [1] 587 - 655 == -68.2
  ── Failure ('test-against-merDeriv.R:43:3'): lmeInfo results comparable to merDeriv for sleepstudy data, estimated by FML. ──
  `Tau_lme4_FML` not equal to vc_FML$Tau$Subject.
  3/3 mismatches (average diff: 195)
  [1] 587 - 565.5 ==  21.2
  [2]   0 -  11.1 == -11.1
  [3] 587 -  32.7 == 554.1
  ── Failure ('test-against-merDeriv.R:45:3'): lmeInfo results comparable to merDeriv for sleepstudy data, estimated by FML. ──
  as.matrix(vcov_merDeriv_FML[1:2, 1:2]) not equal to vcov(sleep_nlme_FML).
  4/4 mismatches (average diff: 7.92)
  [1] 43.86 - 43.99 == -0.128
  [2] -1.78 - -1.37 == -0.408
  [3] -1.78 - -1.37 == -0.408
  [4] 32.99 -  2.26 == 30.736
  ── Failure ('test-against-merDeriv.R:48:3'): lmeInfo results comparable to merDeriv for sleepstudy data, estimated by FML. ──
  as.matrix(vcov_merDeriv_FML[3:6, 3:6]) not equal to `vcov_lmeInfo_FML`.
  16/16 mismatches (average diff: 4455)
  [1] 69819 - 70364.6 ==  -546.0
  [2] -2897 - -2282.3 ==  -615.1
  [3]   134 -    92.6 ==    41.3
  [4] -1652 - -2058.1 ==   406.2
  [5] -2897 - -2282.3 ==  -615.1
  [6] 26117 -  1838.3 == 24278.8
  [7] -2115 -  -115.3 == -1999.7
  [8]   261 -   325.0 ==   -64.1
  [9]   134 -    92.6 ==    41.3
  ...
  ── Failure ('test-against-merDeriv.R:77:3'): lmeInfo results comparable to merDeriv for sleepstudy data, estimated by REML. ──
  `sigma_sq_lme4_REML` not equal to vc_REML$sigma_sq.
  1/1 mismatches
  [1] 593 - 655 == -61.6
  ── Failure ('test-against-merDeriv.R:78:3'): lmeInfo results comparable to merDeriv for sleepstudy data, estimated by REML. ──
  `Tau_lme4_REML` not equal to vc_REML$Tau$Subject.
  3/3 mismatches (average diff: 196)
  [1] 593 - 612.08 == -18.73
  [2]   0 -   9.61 ==  -9.61
  [3] 593 -  35.07 == 558.27
  ── Failure ('test-against-merDeriv.R:80:3'): lmeInfo results comparable to merDeriv for sleepstudy data, estimated by REML. ──
  as.matrix(vcov_merDeriv_REML[1:2, 1:2]) not equal to vcov(sleep_nlme_REML).
  4/4 mismatches (average diff: 8.47)
  [1] 44.4 - 46.57 == -2.223
  [2] -1.8 - -1.45 == -0.347
  [3] -1.8 - -1.45 == -0.347
  [4] 33.4 -  2.39 == 30.974
  ── Failure ('test-against-merDeriv.R:83:3'): lmeInfo results comparable to merDeriv for sleepstudy data, estimated by REML. ──
  as.matrix(vcov_merDeriv_REML[3:6, 3:6]) not equal to `vcov_lmeInfo_REML`.
  16/16 mismatches (average diff: 5210)
  [1] 75562 - 83393 == -7831.7
  [2] -3132 - -2688 ==  -443.6
  [3]   144 -   105 ==    38.5
  [4] -1689 - -2058 ==   368.9
  [5] -3132 - -2688 ==  -443.6
  [6] 28277 -  2179 == 26098.6
  [7] -2290 -  -136 == -2153.7
  [8]   267 -   325 ==   -58.2
  [9]   144 -   105 ==    38.5
  ...
  
  [ FAIL 8 | WARN 6 | SKIP 18 | PASS 1091 ]
  Error: Test failures
  Execution halted