Running ‘testthat.R’ [4s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(helda)
  > 
  > test_check("helda")
  ── 1. Failure: lift curve for titanic data set (@test-lift_curve.R#14)  ────────
  `result` not equal to `plot_lift_curve_test`.
  Component "theme": Component "text": Component "margin": Attributes: < Length mismatch: comparison on first 2 components >
  Component "theme": Component "text": Component "margin": Attributes: < Component "class": Lengths (4, 2) differ (string compare on first 2) >
  Component "theme": Component "text": Component "margin": Attributes: < Component "class": 1 string mismatch >
  Component "theme": Component "text": Component "margin": Attributes: < Component "unit": Modes: numeric, character >
  Component "theme": Component "text": Component "margin": Attributes: < Component "unit": target is numeric, current is character >
  Component "theme": Component "axis.title.x": Component "margin": Attributes: < Length mismatch: comparison on first 2 components >
  Component "theme": Component "axis.title.x": Component "margin": Attributes: < Component "class": Lengths (4, 2) differ (string compare on first 2) >
  Component "theme": Component "axis.title.x": Component "margin": Attributes: < Component "class": 1 string mismatch >
  Component "theme": Component "axis.title.x": Component "margin": Attributes: < Component "unit": Modes: numeric, character >
  ...
  
  ── 2. Failure: lift effect for titanic data set (@test-lift_effect.R#14)  ──────
  `result` not equal to `plot_lift_effect_test`.
  Component "theme": Component "text": Component "margin": Attributes: < Length mismatch: comparison on first 2 components >
  Component "theme": Component "text": Component "margin": Attributes: < Component "class": Lengths (4, 2) differ (string compare on first 2) >
  Component "theme": Component "text": Component "margin": Attributes: < Component "class": 1 string mismatch >
  Component "theme": Component "text": Component "margin": Attributes: < Component "unit": Modes: numeric, character >
  Component "theme": Component "text": Component "margin": Attributes: < Component "unit": target is numeric, current is character >
  Component "theme": Component "axis.title.x": Component "margin": Attributes: < Length mismatch: comparison on first 2 components >
  Component "theme": Component "axis.title.x": Component "margin": Attributes: < Component "class": Lengths (4, 2) differ (string compare on first 2) >
  Component "theme": Component "axis.title.x": Component "margin": Attributes: < Component "class": 1 string mismatch >
  Component "theme": Component "axis.title.x": Component "margin": Attributes: < Component "unit": Modes: numeric, character >
  ...
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 5 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
  1. Failure: lift curve for titanic data set (@test-lift_curve.R#14) 
  2. Failure: lift effect for titanic data set (@test-lift_effect.R#14) 
  
  Error: testthat unit tests failed
  Execution halted