Running ‘testthat.R’ [4s/7s]
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 "layers": Component 1: Component 3: Names: 2 string mismatches
  Component "layers": Component 1: Component 3: Length mismatch: comparison on first 2 components
  Component "layers": Component 1: Component 3: Component 1: Modes: character, function
  Component "layers": Component 1: Component 3: Component 1: Lengths: 2, 1
  Component "layers": Component 1: Component 3: Component 1: target is character, current is function
  Component "layers": Component 1: Component 3: Component 2: target, current do not match when deparsed
  Component "layers": Component 1: Component 4: Length mismatch: comparison on first 1 components
  Component "layers": Component 2: Component 3: Names: 2 string mismatches
  Component "layers": Component 2: Component 3: Length mismatch: comparison on first 2 components
  ...
  
  ── 2. Failure: lift effect for titanic data set (@test-lift_effect.R#14)  ──────
  `result` not equal to `plot_lift_effect_test`.
  Component "layers": Component 1: Component 3: Names: 2 string mismatches
  Component "layers": Component 1: Component 3: Length mismatch: comparison on first 2 components
  Component "layers": Component 1: Component 3: Component 1: Modes: character, function
  Component "layers": Component 1: Component 3: Component 1: Lengths: 2, 1
  Component "layers": Component 1: Component 3: Component 1: target is character, current is function
  Component "layers": Component 1: Component 3: Component 2: target, current do not match when deparsed
  Component "layers": Component 1: Component 4: Length mismatch: comparison on first 1 components
  Component "theme": Names: 62 string mismatches
  Component "theme": Length mismatch: comparison on first 65 components
  ...
  
  ══ 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