Running ‘testthat.R’ [7s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(reghelper)
  
  Attaching package: 'reghelper'
  
  The following object is masked from 'package:base':
  
      beta
  
  > 
  > test_check("reghelper")
  ── 1. Failure: lm with 2 continuous int. works (@test_graph_model.R#20)  ───────
  as.character(graph$mapping$x) not equal to "x1".
  Lengths differ: 2 is not 1
  
  ── 2. Failure: lm with 2 continuous int. works (@test_graph_model.R#21)  ───────
  as.character(graph$mapping$y) not equal to "y".
  Lengths differ: 2 is not 1
  
  ── 3. Failure: lm with 2 continuous int. works (@test_graph_model.R#22)  ───────
  as.character(graph$mapping$colour) not equal to "x2".
  Lengths differ: 2 is not 1
  
  ── 4. Failure: lm with continuous x 2-level categorical int. works (@test_graph_
  as.character(graph$mapping$x) not equal to "x1".
  Lengths differ: 2 is not 1
  
  ── 5. Failure: lm with continuous x 2-level categorical int. works (@test_graph_
  as.character(graph$mapping$y) not equal to "y".
  Lengths differ: 2 is not 1
  
  ── 6. Failure: lm with continuous x 2-level categorical int. works (@test_graph_
  as.character(graph$mapping$colour) not equal to "x2".
  Lengths differ: 2 is not 1
  
  ── 7. Failure: lm with continuous x 3-level categorical int. works (@test_graph_
  as.character(graph$mapping$x) not equal to "x1".
  Lengths differ: 2 is not 1
  
  ── 8. Failure: lm with continuous x 3-level categorical int. works (@test_graph_
  as.character(graph$mapping$y) not equal to "y".
  Lengths differ: 2 is not 1
  
  ── 9. Failure: lm with continuous x 3-level categorical int. works (@test_graph_
  as.character(graph$mapping$colour) not equal to "x2".
  Lengths differ: 2 is not 1
  
  ── 10. Failure: lm with 3 continuous int. works (@test_graph_model.R#100)  ─────
  as.character(graph$mapping$x) not equal to "x1".
  Lengths differ: 2 is not 1
  
  ── 11. Failure: lm with 3 continuous int. works (@test_graph_model.R#101)  ─────
  as.character(graph$mapping$y) not equal to "y".
  Lengths differ: 2 is not 1
  
  ── 12. Failure: lm with 3 continuous int. works (@test_graph_model.R#102)  ─────
  as.character(graph$mapping$colour) not equal to "x2".
  Lengths differ: 2 is not 1
  
  ── 13. Failure: binomial glm works (@test_graph_model.R#131)  ──────────────────
  as.character(graph$mapping$x) not equal to "x1".
  Lengths differ: 2 is not 1
  
  ── 14. Failure: binomial glm works (@test_graph_model.R#132)  ──────────────────
  as.character(graph$mapping$y) not equal to "y".
  Lengths differ: 2 is not 1
  
  ── 15. Failure: binomial glm works (@test_graph_model.R#133)  ──────────────────
  as.character(graph$mapping$colour) not equal to "x2".
  Lengths differ: 2 is not 1
  
  ── 16. Failure: aov with 2-way interaction works (@test_graph_model.R#158)  ────
  as.character(graph$mapping$x) not equal to "x1".
  Lengths differ: 2 is not 1
  
  ── 17. Failure: aov with 2-way interaction works (@test_graph_model.R#159)  ────
  as.character(graph$mapping$y) not equal to "y".
  Lengths differ: 2 is not 1
  
  ── 18. Failure: aov with 2-way interaction works (@test_graph_model.R#160)  ────
  as.character(graph$mapping$fill) not equal to "x2".
  Lengths differ: 2 is not 1
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 281 SKIPPED: 0 FAILED: 18
  1. Failure: lm with 2 continuous int. works (@test_graph_model.R#20) 
  2. Failure: lm with 2 continuous int. works (@test_graph_model.R#21) 
  3. Failure: lm with 2 continuous int. works (@test_graph_model.R#22) 
  4. Failure: lm with continuous x 2-level categorical int. works (@test_graph_model.R#46) 
  5. Failure: lm with continuous x 2-level categorical int. works (@test_graph_model.R#47) 
  6. Failure: lm with continuous x 2-level categorical int. works (@test_graph_model.R#48) 
  7. Failure: lm with continuous x 3-level categorical int. works (@test_graph_model.R#72) 
  8. Failure: lm with continuous x 3-level categorical int. works (@test_graph_model.R#73) 
  9. Failure: lm with continuous x 3-level categorical int. works (@test_graph_model.R#74) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted