Running ‘testthat.R’ [11s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ratPASTA)
  > 
  > test_check("ratPASTA")
  ── 1. Failure: Testing output of latency plot (@test-latency.R#20)  ────────────
  `l` not equal to readRDS("lp.rds").
  Component "LatencyVsCycle": Component "x": Attributes: < Modes: list, NULL >
  Component "LatencyVsCycle": Component "x": Attributes: < Lengths: 1, 0 >
  Component "LatencyVsCycle": Component "x": Attributes: < names for target but not for current >
  Component "LatencyVsCycle": Component "x": Attributes: < current is not list-like >
  Component "LatencyVsCycle": Component "x": target is mapped_discrete, current is numeric
  
  ── 2. Failure: Testing output of startle plot (@test-startleplot.r#26)  ────────
  `pld` not equal to `plde`.
  Component "x": Attributes: < Modes: list, NULL >
  Component "x": Attributes: < Lengths: 1, 0 >
  Component "x": Attributes: < names for target but not for current >
  Component "x": Attributes: < current is not list-like >
  Component "x": target is mapped_discrete, current is numeric
  
  ── 3. Failure: Testing output of startle plot (@test-startleplot.r#40)  ────────
  `pld2` not equal to `plde2`.
  Component "x": Attributes: < Modes: list, NULL >
  Component "x": Attributes: < Lengths: 1, 0 >
  Component "x": Attributes: < names for target but not for current >
  Component "x": Attributes: < current is not list-like >
  Component "x": target is mapped_discrete, current is numeric
  Component "xmin": Attributes: < Modes: list, NULL >
  Component "xmin": Attributes: < Lengths: 1, 0 >
  Component "xmin": Attributes: < names for target but not for current >
  Component "xmin": Attributes: < current is not list-like >
  ...
  
  ── 4. Failure: Testing output of startle plot (@test-startleplot.r#54)  ────────
  `pld3` not equal to `plde3`.
  Component "x": Attributes: < Modes: list, NULL >
  Component "x": Attributes: < Lengths: 1, 0 >
  Component "x": Attributes: < names for target but not for current >
  Component "x": Attributes: < current is not list-like >
  Component "x": target is mapped_discrete, current is numeric
  Component "xmin": Attributes: < Modes: list, NULL >
  Component "xmin": Attributes: < Lengths: 1, 0 >
  Component "xmin": Attributes: < names for target but not for current >
  Component "xmin": Attributes: < current is not list-like >
  ...
  
  ── 5. Failure: Testing output of startle plot (@test-startleplot.r#82)  ────────
  `pld6` not equal to `plde6`.
  Component "x": Attributes: < Modes: list, NULL >
  Component "x": Attributes: < Lengths: 1, 0 >
  Component "x": Attributes: < names for target but not for current >
  Component "x": Attributes: < current is not list-like >
  Component "x": target is mapped_discrete, current is numeric
  Component "xmin": Attributes: < Modes: list, NULL >
  Component "xmin": Attributes: < Lengths: 1, 0 >
  Component "xmin": Attributes: < names for target but not for current >
  Component "xmin": Attributes: < current is not list-like >
  ...
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 18 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
  1. Failure: Testing output of latency plot (@test-latency.R#20) 
  2. Failure: Testing output of startle plot (@test-startleplot.r#26) 
  3. Failure: Testing output of startle plot (@test-startleplot.r#40) 
  4. Failure: Testing output of startle plot (@test-startleplot.r#54) 
  5. Failure: Testing output of startle plot (@test-startleplot.r#82) 
  
  Error: testthat unit tests failed
  Execution halted