Running ‘test-all.R’ [92s/146s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > #library(lavaSearch2)
  > suppressPackageStartupMessages(library("testthat"))
  > test_check("lavaSearch2")
  Loading required package: lavaSearch2
  Loading required package: ggplot2
  Loading required package: lava
  
  Attaching package: 'lava'
  
  The following object is masked from 'package:ggplot2':
  
      vars
  
  The following object is masked from 'package:testthat':
  
      compare
  
  lavaSearch2 version 1.5.6
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (5)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test1-compare2.R:236:1): (code run outside of `test_that()`) ───────
  as.double(logLik(e.lmer)) not equal to as.double(logLik(e.lvm)).
  1/1 mismatches
  [1] -260 - -5.61 == -254
  ── Failure (test1-compare2.R:353:5): lme/gls equivalent to lvm ─────────────────
  as.double(logLik(e.lvm)) not equal to as.double(logLik(e.lme)).
  1/1 mismatches
  [1] -5.31 - -259 == 254
  ── Failure (test1-sCorrect-dVcov.R:122:5): gls equivalent to lvm ───────────────
  as.double(logLik(e.lvm2)) not equal to as.double(logLik(e.gls)).
  1/1 mismatches
  [1] -5.76 - -274 == 268
  ── Failure (test1-sCorrect-dVcov.R:229:5): compound symmetry: lme/gls equivalent to lvm ──
  as.double(logLik(e.lme)) not equal to as.double(logLik(e.lvm)).
  1/1 mismatches
  [1] -260 - -5.61 == -254
  ── Failure (test1-sCorrect-dVcov.R:230:5): compound symmetry: lme/gls equivalent to lvm ──
  as.double(logLik(e.gls)) not equal to as.double(logLik(e.lvm)).
  1/1 mismatches
  [1] -260 - -5.61 == -254
  ── Failure (test1-sCorrect-dVcov.R:272:5): lme equivalent to lvm ───────────────
  as.double(logLik(e.lvm)) not equal to as.double(logLik(e.lme)).
  1/1 mismatches
  [1] -5.42 - -259 == 254
  ── Failure (test1-sCorrect-dVcov.R:320:5): lme/gls equivalent to lvm ───────────
  as.double(logLik(e.lvm)) not equal to as.double(logLik(e.lme)).
  1/1 mismatches
  [1] -5.36 - -259 == 254
  ── Failure (test1-sCorrect-dVcov.R:367:5): lme/gls equivalent to lvm ───────────
  as.double(logLik(e.lvm)) not equal to as.double(logLik(e.lme)).
  1/1 mismatches
  [1] -5.31 - -259 == 254
  ── Failure (test1-sCorrect-lava.R:212:5): gls equivalent to lvm ────────────────
  as.double(logLik(e.lvm2)) not equal to as.double(logLik(e.gls)).
  1/1 mismatches
  [1] -5.76 - -274 == 268
  ── Failure (test1-sCorrect-lava.R:368:5): compound symmetry: lme/gls equivalent to lvm ──
  as.double(logLik(e.lme)) not equal to as.double(logLik(e.lvm)).
  1/1 mismatches
  [1] -260 - -5.61 == -254
  ── Failure (test1-sCorrect-lava.R:369:5): compound symmetry: lme/gls equivalent to lvm ──
  as.double(logLik(e.gls)) not equal to as.double(logLik(e.lvm)).
  1/1 mismatches
  [1] -260 - -5.61 == -254
  ── Failure (test1-sCorrect-lava.R:445:5): lme equivalent to lvm ────────────────
  as.double(logLik(e.lvm)) not equal to as.double(logLik(e.lme)).
  1/1 mismatches
  [1] -5.42 - -259 == 254
  ── Failure (test1-sCorrect-lava.R:514:5): lme/gls equivalent to lvm ────────────
  as.double(logLik(e.lvm)) not equal to as.double(logLik(e.lme)).
  1/1 mismatches
  [1] -5.36 - -259 == 254
  ── Failure (test1-sCorrect-lava.R:581:5): lme/gls equivalent to lvm ────────────
  as.double(logLik(e.lvm)) not equal to as.double(logLik(e.lme)).
  1/1 mismatches
  [1] -5.31 - -259 == 254
  ── Failure (test1-sCorrect-smallSampleCorrection.R:84:5): gls equivalent to lvm ──
  as.double(logLik(e.lvm)) not equal to as.double(logLik(e.gls)).
  1/1 mismatches
  [1] -5.76 - -274 == 268
  ── Failure (test1-sCorrect-smallSampleCorrection.R:141:5): lme/gls equivalent to lvm ──
  as.double(logLik(e.lvm)) not equal to as.double(logLik(e.lme)).
  1/1 mismatches
  [1] -6.18 - -266 == 259
  ── Failure (test1-sCorrect-smallSampleCorrection.R:212:5): lme equivalent to lvm ──
  as.double(logLik(e.lvm)) not equal to as.double(logLik(e.lme)).
  1/1 mismatches
  [1] -5.94 - -265 == 259
  ── Failure (test1-sCorrect-smallSampleCorrection.R:278:5): lme/gls equivalent to lvm ──
  as.double(logLik(e.lvm)) not equal to as.double(logLik(e.lme)).
  1/1 mismatches
  [1] -5.88 - -265 == 259
  
  [ FAIL 18 | WARN 4 | SKIP 5 | PASS 456 ]
  Error: Test failures
  Execution halted