Running ‘test-all.R’ [127s/107s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > suppressPackageStartupMessages(library("testthat"))
  > test_check("polle")
  Loading required package: polle
  Loading required package: SuperLearner
  Loading required package: nnls
  Loading required package: gam
  Loading required package: splines
  Loading required package: foreach
  Loaded gam 1.22-4
  
  Super Learner
  Version: 2.0-29
  Package created on 2024-02-06
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 452 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-policy_data.R:260:3'): policy_data melts wide data correctly in a two stage case. ──
  pd$stage_data not equal to `target_stage_data`.
  Attributes: < Component "index": Attributes: < Component "__event": Attributes: < target is NULL, current is list > > >
  ── Failure ('test-policy_data.R:303:3'): policy_data melts wide data correctly in a two stage case. ──
  pd$stage_data not equal to `target_stage_data`.
  Attributes: < Component "index": Attributes: < Component "__event": Attributes: < target is NULL, current is list > > >
  ── Failure ('test-policy_data.R:359:3'): policy_data melts wide data correctly in a single stage case. ──
  pd$stage_data not equal to `target_stage_data`.
  Attributes: < Component "index": Attributes: < Component "__event": Attributes: < target is NULL, current is list > > >
  ── Failure ('test-policy_data.R:381:3'): policy_data melts wide data correctly in a single stage case. ──
  ...$stage_data not equal to `target_stage_data`.
  Attributes: < Component "index": Attributes: < Component "__event": Attributes: < target is NULL, current is list > > >
  ── Failure ('test-policy_data.R:387:3'): policy_data melts wide data correctly in a single stage case. ──
  ...$stage_data not equal to `target_stage_data`.
  Attributes: < Component "index": Attributes: < Component "__event": Attributes: < target is NULL, current is list > > >
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 452 ]
  Error: Test failures
  Execution halted