Running ‘testthat.R’ [120s/131s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(cvms)
  > 
  > test_check("cvms")
  ── 1. Failure: model_verbose reports the correct model functions in cross_valida
  ...$NULL not equal to as.character(...).
  Lengths differ: 6 is not 5
  
  ── 2. Failure: model_verbose reports the correct model functions in cross_valida
  ...$NULL not equal to as.character(...).
  Lengths differ: 6 is not 5
  
  ── 3. Failure: model_verbose reports the correct model functions in cross_valida
  ...$NULL not equal to as.character(...).
  Lengths differ: 6 is not 5
  
  ── 4. Failure: model_verbose reports the correct model functions in cross_valida
  ...$NULL not equal to as.character(...).
  Lengths differ: 6 is not 5
  
  ── 5. Failure: model_verbose reports the correct model functions in cross_valida
  ...$NULL not equal to as.character(...).
  Lengths differ: 6 is not 5
  
  ── 6. Failure: model_verbose reports the correct model functions in cross_valida
  ...$NULL not equal to as.character(...).
  Lengths differ: 6 is not 5
  
  ── 7. Failure: multinomial random predictions work with cross_validate_fn() (@te
  CVmultinomlist$`Warnings and Messages`[[1]] not equal to structure(...).
  Different number of rows
  
  ── 8. Failure: formulas with random effects are properly reconstructed from cros
  reconstruct_formulas(cv_results) not equal to c("score ~ age * diagnosis + (1|participant)", "score ~ age + (1|participant) + (1|diagnosis)").
  2/2 mismatches
  x[1]: "score ~ age + (1|participant) + (1|diagnosis)"
  y[1]: "score ~ age * diagnosis + (1|participant)"
  
  x[2]: "score ~ age * diagnosis + (1|participant)"
  y[2]: "score ~ age + (1|participant) + (1|diagnosis)"
  
  ── 9. Failure: formulas with random effects are properly reconstructed from cros
  reconstruct_formulas(cv_results, topn = 1) not equal to c("score ~ age * diagnosis + (1|participant)").
  1/1 mismatches
  x[1]: "score ~ age + (1|participant) + (1|diagnosis)"
  y[1]: "score ~ age * diagnosis + (1|participant)"
  
  ── 10. Failure: model_verbose reports the correct model functions in validate() 
  ...$NULL not equal to as.character(...).
  Lengths differ: 3 is not 2
  
  ── 11. Failure: model_verbose reports the correct model functions in validate() 
  ...$NULL not equal to as.character(...).
  Lengths differ: 3 is not 2
  
  ── 12. Failure: model_verbose reports the correct model functions in validate() 
  ...$NULL not equal to as.character(...).
  Lengths differ: 3 is not 2
  
  ── 13. Failure: model_verbose reports the correct model functions in validate() 
  ...$NULL not equal to as.character(...).
  Lengths differ: 3 is not 2
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 1615 | SKIPPED: 12 | WARNINGS: 2 | FAILED: 13 ]
  1. Failure: model_verbose reports the correct model functions in cross_validate() (@test_cross_validate.R#910) 
  2. Failure: model_verbose reports the correct model functions in cross_validate() (@test_cross_validate.R#923) 
  3. Failure: model_verbose reports the correct model functions in cross_validate() (@test_cross_validate.R#936) 
  4. Failure: model_verbose reports the correct model functions in cross_validate() (@test_cross_validate.R#948) 
  5. Failure: model_verbose reports the correct model functions in cross_validate() (@test_cross_validate.R#962) 
  6. Failure: model_verbose reports the correct model functions in cross_validate() (@test_cross_validate.R#975) 
  7. Failure: multinomial random predictions work with cross_validate_fn() (@test_cross_validate_fn.R#1448) 
  8. Failure: formulas with random effects are properly reconstructed from cross_validate results with reconstruct_formulas() (@test_reconstruct_formulas.R#46) 
  9. Failure: formulas with random effects are properly reconstructed from cross_validate results with reconstruct_formulas() (@test_reconstruct_formulas.R#48) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted