Running ‘spelling.R’
  Running ‘testthat.R’ [37s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("ItemResponseTrees")
  > 
  > test_check("ItemResponseTrees")
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  ── 1. Failure: Passing arguments to mirt works (@test-fit-mirt.R#162)  ─────────
  res1$mirt@Options[names(ctrl)[!names(ctrl) %in% "control"]] not equal to ctrl[!names(ctrl) %in% "control"].
  Component "technical": Length mismatch: comparison on first 2 components
  
  ── 2. Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#263)  ──
  Check on ag1$.se.fitF1 isn't true.
  Must be of type 'numeric', not 'NULL'
  
  ── 3. Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#264)  ──
  Check on ag1$.se.fitF2 isn't true.
  Must be of type 'numeric', not 'NULL'
  
  ── 4. Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#265)  ──
  Check on ag2$.se.fitF1 isn't true.
  Must be of type 'numeric', not 'NULL'
  
  ── 5. Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#266)  ──
  Check on ag3$.se.fitF1 isn't true.
  Must be of type 'numeric', not 'NULL'
  
  ── 6. Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#267)  ──
  Check on ag4$.se.fitF1 isn't true.
  Must be of type 'numeric', not 'NULL'
  
  ── 7. Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#268)  ──
  Check on ag4$.se.fitF2 isn't true.
  Must be of type 'numeric', not 'NULL'
  
  ── 8. Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#269)  ──
  Check on ag5$.se.fitF1 isn't true.
  Must be of type 'numeric', not 'NULL'
  
  ── 9. Error: implementation of augment.irtree_fit() (@test-fit-mirt.R#271)  ────
  'x' must be numeric
  Backtrace:
   1. testthat::expect_gt(...)
   4. stats::cor(ag3$.fittedF1, mirt::fscores(res3x))
  
  ── 10. Error: (unknown) (@test-fit-tam.R#93)  ──────────────────────────────────
  do not know how to convert 'e' to class "POSIXct"
  Backtrace:
    1. generics::fit(...)
    5. TAM::tam.mml(...)
    7. base::c.POSIXct(s1, s2, s2 - s1)
   10. base::lapply(list(...), function(e) unclass(as.POSIXct(e)))
   11. base:::FUN(X[[i]], ...)
   13. base::as.POSIXct.default(e)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 191 | SKIPPED: 3 | WARNINGS: 8 | FAILED: 10 ]
  1.  Failure: Passing arguments to mirt works (@test-fit-mirt.R#162) 
  2.  Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#263) 
  3.  Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#264) 
  4.  Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#265) 
  5.  Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#266) 
  6.  Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#267) 
  7.  Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#268) 
  8.  Failure: implementation of augment.irtree_fit() (@test-fit-mirt.R#269) 
  9.  Error: implementation of augment.irtree_fit() (@test-fit-mirt.R#271) 
  10. Error: (unknown) (@test-fit-tam.R#93) 
  
  Error: testthat unit tests failed
  Execution halted