Running ‘testthat.R’ [33s/40s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ARTool)
  > 
  > test_check("ARTool")
  [ FAIL 8 | WARN 56 | SKIP 0 | PASS 145 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test.anova.art.R:50:5'): anova.art of Higgins1990Table5 matches results of the original ARTool ──
  `a` not equal to ref[-2].
  Component "F": Mean relative difference: 0.7174749
  Component "Pr(>F)": Mean relative difference: 0.9944212
  ── Failure ('test.art.R:66:5'): art allows models with missing data in the grouping terms ──
  anova(m)$F not equal to 0.6862745.
  1/1 mismatches
  [1] 0.166 - 0.686 == -0.52
  ── Failure ('test.art.con.R:75:5'): art.con returns same result as ARTool.exe + JMP: with grouping term, two-factor model ──
  summary(art.con(m, "Moisture"))$t not equal to c(...).
  6/6 mismatches (average diff: 3.01)
  [1] -1.783 - -5.61 ==  3.82
  [2] -2.607 - -8.20 ==  5.59
  [3] -1.172 - -3.68 ==  2.51
  [4] -0.824 - -2.59 ==  1.77
  [5]  0.612 -  1.92 == -1.31
  [6]  1.436 -  4.51 == -3.08
  ── Failure ('test.art.con.R:83:5'): art.con returns same result as ARTool.exe + JMP: with grouping term, two-factor model ──
  ...[[]] not equal to c(-1.107980814, -3.036288461, -5.007904345).
  3/3 mismatches (average diff: 0.0131)
  [1] -1.11 - -1.11 == -0.0033
  [2] -3.02 - -3.04 ==  0.0136
  [3] -4.99 - -5.01 ==  0.0225
  ── Failure ('test.art.con.R:96:5'): art.con returns same result as ARTool.exe + JMP: with grouping term, three-factor model ──
  summary(art.con(m, "A"))$t not equal to c(-16.98).
  1/1 mismatches
  [1] -13.5 - -17 == 3.5
  ── Failure ('test.art.con.R:104:5'): art.con returns same result as ARTool.exe + JMP: with grouping term, three-factor model ──
  ...[[]] not equal to c(-0.072115146, -14.74754746, -10.13217808).
  3/3 mismatches (average diff: 1.88)
  [1]  -0.0558 -  -0.0721 == 0.0163
  [2] -11.4202 - -14.7475 == 3.3274
  [3]  -7.8461 - -10.1322 == 2.2860
  ── Failure ('test.art.con.R:112:5'): art.con returns same result as ARTool.exe + JMP: with grouping term, three-factor model ──
  ...[[]] not equal to c(-8.041788515, -8.041788515, -7.835588809).
  3/3 mismatches (average diff: 2.98)
  [1] -5.04 - -8.04 == 3.00
  [2] -5.04 - -8.04 == 3.00
  [3] -4.91 - -7.84 == 2.92
  ── Failure ('test.artlm.R:32:5'): artlm returns models whose data can be recovered by emmeans ──
  summary(pairs(emmeans::emmeans(artlm(m, "Moisture"), "Moisture")))$t not equal to c(-5.60684, -8.19773, -3.68392, -2.59089, 1.92292, 4.51381).
  6/6 mismatches (average diff: 3.01)
  [1] -1.783 - -5.61 ==  3.82
  [2] -2.607 - -8.20 ==  5.59
  [3] -1.172 - -3.68 ==  2.51
  [4] -0.824 - -2.59 ==  1.77
  [5]  0.612 -  1.92 == -1.31
  [6]  1.436 -  4.51 == -3.08
  
  [ FAIL 8 | WARN 56 | SKIP 0 | PASS 145 ]
  Error: Test failures
  Execution halted