Running ‘testthat.R’ [16s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > library(dexter)
  > test_check("dexter")
  Error in solve.default(H * scale, sufI - EsufI) : 
    system is computationally singular: reciprocal condition number = 2.18096e-17
  ── 1. Error: inconsistencies between data and parms are handled correctly (@test
  
    system is computationally singular: reciprocal condition number = 2.18096e-17
  Backtrace:
   1. dexter::fit_enorm(...)
   2. dexter:::fit_enorm_(...)
   3. dexter:::calibrate_CML(...)
  
  2000 responses imported.
  2000 responses imported.
  
  rules_changed: 1
  rules_added: 0 
   [1] "S1DoCurse"   "S1DoScold"   "S1DoShout"   "S1WantCurse" "S1WantScold"
   [6] "S1WantShout" "S2DoCurse"   "S2DoScold"   "S2DoShout"   "S2WantCurse"
  [11] "S2WantScold" "S2WantShout" "S3DoCurse"   "S3DoScold"   "S3DoShout"  
  [16] "S3WantCurse" "S3WantScold" "S3WantShout" "S4DoCurse"   "S4DoScold"  
  [21] "S4DoShout"   "S4WantCurse" "S4WantScold" "S4WantShout"
  Error in solve.default(H * scale, sufI - EsufI) : 
    Lapack routine dgesv: system is exactly singular: U[4,4] = 0
  In addition: Warning message:
  call dbDisconnect() when finished working with a connection 
  ── 2. Failure: calibration of verbal aggression dataset matches oplm results, wi
  `object` threw an error.
  Message: Error in solve.default(H * scale, sufI - EsufI) : 
    Lapack routine dgesv: system is exactly singular: U[4,4] = 0
  
  Class:   simpleError/error/condition
  Backtrace:
   1. dexter:::expect_no_error(fit_enorm(db, item_score <= 1))
   7. dexter::fit_enorm(db, item_score <= 1)
   8. dexter:::fit_enorm_(...)
   9. dexter:::calibrate_CML(...)
  
  Error in solve.default(H * scale, sufI - EsufI) : 
    system is computationally singular: reciprocal condition number = 4.70288e-25
  ── 3. Error: populations work (@test_plausible_values.R#9)  ────────────────────
  
    system is computationally singular: reciprocal condition number = 4.70288e-25
  Backtrace:
   1. dexter::fit_enorm(...)
   2. dexter:::fit_enorm_(...)
   3. dexter:::calibrate_CML(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 153 | SKIPPED: 4 | WARNINGS: 3 | FAILED: 3 ]
  1. Error: inconsistencies between data and parms are handled correctly (@test_ability.R#15) 
  2. Failure: calibration of verbal aggression dataset matches oplm results, with fixed and unfixed (@test_enorm.R#89) 
  3. Error: populations work (@test_plausible_values.R#9) 
  
  Error: testthat unit tests failed
  Execution halted