Running ‘testthat.R’ [14s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ratPASTA)
  > 
  > test_check("ratPASTA")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-loadstartledata.R:15:3): Testing correction true ──────────────
  `df_withcorrection` not equal to readRDS("results2.rds").
  Attributes: < Names: 1 string mismatch >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 2: Lengths: 1708, 33000 >
  Attributes: < Component 2: names for target but not for current >
  Attributes: < Component 2: Attributes: < Modes: list, NULL > >
  Attributes: < Component 2: Attributes: < Lengths: 1, 0 > >
  Attributes: < Component 2: Attributes: < names for target but not for current > >
  Attributes: < Component 2: Attributes: < current is not list-like > >
  Attributes: < Component 2: target is omit, current is numeric >
  ── Failure (test-loadstartledata.R:24:3): Testing correction true addtail and addhead ──
  `df_wcor_tailhead` not equal to readRDS("results3.rds").
  Attributes: < Names: 1 string mismatch >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 2: Lengths: 1626, 33082 >
  Attributes: < Component 2: names for target but not for current >
  Attributes: < Component 2: Attributes: < Modes: list, NULL > >
  Attributes: < Component 2: Attributes: < Lengths: 1, 0 > >
  Attributes: < Component 2: Attributes: < names for target but not for current > >
  Attributes: < Component 2: Attributes: < current is not list-like > >
  Attributes: < Component 2: target is omit, current is numeric >
  ── Failure (test-loadstartledata.R:39:3): Auto import false ────────────────────
  `df_no_auto_import` not equal to readRDS("results4.rds").
  Attributes: < Names: 1 string mismatch >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 2: Lengths: 3384, 66912 >
  Attributes: < Component 2: names for target but not for current >
  Attributes: < Component 2: Attributes: < Modes: list, NULL > >
  Attributes: < Component 2: Attributes: < Lengths: 1, 0 > >
  Attributes: < Component 2: Attributes: < names for target but not for current > >
  Attributes: < Component 2: Attributes: < current is not list-like > >
  Attributes: < Component 2: target is omit, current is numeric >
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 20 ]
  Error: Test failures
  Execution halted