Running ‘testthat.R’ [1s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > testthat::test_check("iMRMC")
  Loading required package: iMRMC
  do_IMRMC WARNING
  <simpleWarning in system2("java", args = c("-jar", iMRMCjarFullPath, fileName,     file.path(workDir, "imrmcDir")), stdout = FALSE, stderr = TRUE): setting stdout = TRUE>
  do_IMRMC WARNING
  [1] "location: test_doIMRMC.R, tryCatch, warning"
  <simpleWarning in system2("java", args = c("-jar", iMRMCjarFullPath, fileName,     file.path(workDir, "imrmcDir")), stdout = FALSE, stderr = TRUE): setting stdout = TRUE>
  do_IMRMC WARNING
  <simpleWarning in system2("java", args = c("-jar", iMRMCjarFullPath, fileName,     file.path(workDir, "imrmcDir")), stdout = FALSE, stderr = TRUE): setting stdout = TRUE>
  [1] ""
  modality A mean shift, neg =  0.07790319 
  modality A mean shift, pos =  0.9135697 
  modality B mean shift, neg =  -0.1750383 
  modality B mean shift, pos =  0.8659156 
  ── 1. Failure: sim.gRoeMetz does not change (@test_simRoeMetz.R#47)  ───────────
  `saveResult` not equal to `result`.
  Component "readerID": 'current' is not a factor
  Component "modalityID": 'current' is not a factor
  
  
  uStat11.jointD.identity 
  $mean
           A          B    AminusB 
  0.91356967 0.86591565 0.04765402 
  
  $var
           A          B    AminusB 
  0.04841548 0.02890617 0.03198493 
  
  
  uStat11.conditionalD.identity 
  $mean
           A          B    AminusB 
  0.91356967 0.86591565 0.04765402 
  
  $var
           A          B    AminusB 
  0.04841548 0.02890617 0.03198493 
  
  
  uStat11.jointD.diff 
  $mean
                AminusB               CminusD AminusB.minus.CminusD 
             0.04765402           -0.04765402            0.09530804 
  
  $var
                AminusB               CminusD AminusB.minus.CminusD 
             0.03198493            0.03198493            0.12793972 
  
  
  uStat11.conditionalD.diff 
  $mean
                AminusB               CminusD AminusB.minus.CminusD 
             0.04765402           -0.04765402            0.09530804 
  
  $var
                AminusB               CminusD AminusB.minus.CminusD 
             0.03198493            0.03198493            0.12793972 
  
  ── 2. Error: (unknown) (@test_uStat11_splitPlot.R#40)  ─────────────────────────
  'names' attribute [2] must be the same length as the vector [1]
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 7 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
  1. Failure: sim.gRoeMetz does not change (@test_simRoeMetz.R#47) 
  2. Error: (unknown) (@test_uStat11_splitPlot.R#40) 
  
  Error: testthat unit tests failed
  Execution halted