Running ‘testthat.R’ [191s/109s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(parameters)
  > library(testthat)
  > 
  > test_check("parameters")
  Starting 2 test processes
  [ FAIL 2 | WARN 0 | SKIP 79 | PASS 613 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (67)
  • On Linux (3)
  • TO FIX (1)
  • TODO: fix this test (1)
  • TODO: this one actually is not correct. (1)
  • empty test (5)
  • packageVersion("insight") > "0.19.1" is not TRUE (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lme.R:101:3'): model_parameters, satterthwaite ─────────────────
  <defunctError/error/condition>
  Error: Function sCorrect has been removed from lavaSearch2 version 2.0.0 or higher and replace by the estimate2 method. 
  
  Backtrace:
       ▆
    1. ├─parameters::model_parameters(...) at test-lme.R:101:2
    2. └─parameters:::model_parameters.lme(...)
    3.   ├─base::do.call(".extract_parameters_mixed", args)
    4.   └─parameters:::.extract_parameters_mixed(...)
    5.     ├─parameters::degrees_of_freedom(model, method = ci_method, verbose = FALSE)
    6.     └─parameters:::degrees_of_freedom.default(...)
    7.       ├─parameters::dof_satterthwaite(model)
    8.       └─parameters:::dof_satterthwaite.lme(model)
    9.         ├─lavaSearch2::`sCorrect<-`(`*tmp*`, value = TRUE)
   10.         └─lavaSearch2:::`sCorrect<-.default`(`*tmp*`, value = TRUE)
   11.           └─base::.Defunct("estimate2", package = "lavaSearch2", msg = "Function sCorrect has been removed from lavaSearch2 version 2.0.0 or higher and replace by the estimate2 method. \n")
  ── Error ('test-lme.R:109:3'): model_parameters, satterthwaite ─────────────────
  <defunctError/error/condition>
  Error: Function sCorrect has been removed from lavaSearch2 version 2.0.0 or higher and replace by the estimate2 method. 
  
  Backtrace:
       ▆
    1. ├─parameters::model_parameters(...) at test-lme.R:109:2
    2. └─parameters:::model_parameters.lme(...)
    3.   ├─base::do.call(".extract_parameters_mixed", args)
    4.   └─parameters:::.extract_parameters_mixed(...)
    5.     ├─parameters::degrees_of_freedom(model, method = ci_method, verbose = FALSE)
    6.     └─parameters:::degrees_of_freedom.default(...)
    7.       ├─parameters::dof_satterthwaite(model)
    8.       └─parameters:::dof_satterthwaite.lme(model)
    9.         ├─lavaSearch2::`sCorrect<-`(`*tmp*`, value = TRUE)
   10.         └─lavaSearch2:::`sCorrect<-.default`(`*tmp*`, value = TRUE)
   11.           └─base::.Defunct("estimate2", package = "lavaSearch2", msg = "Function sCorrect has been removed from lavaSearch2 version 2.0.0 or higher and replace by the estimate2 method. \n")
  
  [ FAIL 2 | WARN 0 | SKIP 79 | PASS 613 ]
  Error: Test failures
  Execution halted