Running ‘testthat.R’ [6s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mason)
  > 
  > test_check("mason")
  ── 1. Failure: (for glm bi) results are equal to real results (no covar) (@test-
  test_results[-1:-3] not equivalent to real_results[-1].
  Component "estimate": Mean relative difference: 2
  Component "std.error": Mean relative difference: 0.100108
  Component "statistic": Mean relative difference: 2
  Component "p.value": Mean relative difference: 1.019352
  Component "conf.low": Mean relative difference: 1.190297
  Component "conf.high": Mean relative difference: 0.7256076
  
  ── 2. Failure: (for glm bi) results are equal to real results (with covar) (@tes
  test_results[-1:-3] not equivalent to real_results[-1].
  Component "estimate": Mean relative difference: 1.996586
  Component "std.error": Mean relative difference: 0.0546987
  Component "statistic": Mean relative difference: 1.842412
  Component "p.value": Mean relative difference: 0.8855213
  Component "conf.low": Mean relative difference: 1.417119
  Component "conf.high": Mean relative difference: 1.125537
  
  ── 3. Failure: (for glm) results are equal to real results (with covar + int) (@
  test_results[-1:-3] not equivalent to real_results[-1].
  Component "estimate": Mean relative difference: 1.999997
  Component "std.error": Mean relative difference: 0.2627753
  Component "statistic": Mean relative difference: 1.789258
  Component "p.value": Mean relative difference: 1.333262
  Component "conf.low": Mean relative difference: 1.751052
  Component "conf.high": Mean relative difference: 1.316709
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 76 | SKIPPED: 1 | WARNINGS: 7 | FAILED: 3 ]
  1. Failure: (for glm bi) results are equal to real results (no covar) (@test-glm-binomial.R#59) 
  2. Failure: (for glm bi) results are equal to real results (with covar) (@test-glm-binomial.R#73) 
  3. Failure: (for glm) results are equal to real results (with covar + int) (@test-glm-binomial.R#88) 
  
  Error: testthat unit tests failed
  Execution halted