Running ‘testthat.R’ [12s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(spant)
  spant 1.0.0
  
  Attaching package: 'spant'
  
  The following object is masked from 'package:stats':
  
      sd
  
  > 
  > test_check("spant")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  ── 1. Failure: a full fitting pipeline works (@test_fitting.R#12)  ─────────────
  `fit_res` has changed from known value recorded in 'fit_res_varpro_3p.rds'.
  Component "res_tab": Component "res.message": Modes: character, numeric
  Component "res_tab": Component "res.message": Attributes: < target is NULL, current is list >
  Component "res_tab": Component "res.message": target is character, current is factor
  
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  ── 2. Failure: a full fitting pipeline works (@test_fitting.R#15)  ─────────────
  `fit_res` has changed from known value recorded in 'fit_res_varpro.rds'.
  Component "res_tab": Component "res.message": Modes: character, numeric
  Component "res_tab": Component "res.message": Attributes: < target is NULL, current is list >
  Component "res_tab": Component "res.message": target is character, current is factor
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 2 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
  1. Failure: a full fitting pipeline works (@test_fitting.R#12) 
  2. Failure: a full fitting pipeline works (@test_fitting.R#15) 
  
  Error: testthat unit tests failed
  Execution halted