Package suggested but not available for checking: 'testthat'
Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  Error in library(testthat) : there is no package called 'testthat'
  Execution halted
Running ‘testthat.R’ [691s/581s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rstyles)
  > library(mirt)
  Loading required package: stats4
  Loading required package: lattice
  > 
  > test_check("rstyles")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test_sequential_mae5.R:38:3): Item parameters of sequential M, A, E RS (with 5-point scale) recovers in estimation with reasonable MSEs. ──
  mean((slopes[, 2] - estItemPars[, 2])^2) is not strictly less than 0.09. Difference: 0.00671
  ── Failure (test_simultaneous_aem.R:40:3): Item parameters of simultaneous A, E, M RS (with 5-point scale) recovers in estimation with reasonable MSEs. ──
  mean((slopes[, 1] - estItemPars[, 1])^2) is not strictly less than 0.2. Difference: 2.92
  ── Failure (test_simultaneous_aem.R:44:3): Item parameters of simultaneous A, E, M RS (with 5-point scale) recovers in estimation with reasonable MSEs. ──
  mean((intercepts[, 1] - estItemPars[, 26])^2) is not strictly less than 0.06. Difference: 0.0296
  ── Failure (test_simultaneous_aem.R:45:3): Item parameters of simultaneous A, E, M RS (with 5-point scale) recovers in estimation with reasonable MSEs. ──
  mean((intercepts[, 2] - estItemPars[, 27])^2) is not strictly less than 0.12. Difference: 0.161
  ── Failure (test_simultaneous_aem.R:46:3): Item parameters of simultaneous A, E, M RS (with 5-point scale) recovers in estimation with reasonable MSEs. ──
  mean((intercepts[, 3] - estItemPars[, 28])^2) is not strictly less than 0.09. Difference: 0.327
  ── Failure (test_simultaneous_aem.R:47:3): Item parameters of simultaneous A, E, M RS (with 5-point scale) recovers in estimation with reasonable MSEs. ──
  mean((intercepts[, 4] - estItemPars[, 29])^2) is not strictly less than 0.08. Difference: 0.612
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 31 ]
  Error: Test failures
  Execution halted