Running ‘testthat.R’ [19s/19s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > testthat::test_check("iMRMC")
  Loading required package: iMRMC
  
    NR N0 N1 modalityA modalityB UstatOrMLE     AUCA     varAUCA   AUCB
  1  5 40 40     testA    NO_MOD      Ustat 0.704375 0.006313930     NA
  2  5 40 40     testB    NO_MOD      Ustat 0.758500 0.002372053     NA
  3  5 40 40     testA     testB      Ustat 0.704375 0.006313930 0.7585
        varAUCB
  1          NA
  2          NA
  3 0.002372053
  
    NR N0 N1 modalityA modalityB UstatOrMLE AUCAminusAUCB varAUCAminusAUCB
  1  5 40 40     testA    NO_MOD      Ustat            NA               NA
  2  5 40 40     testB    NO_MOD      Ustat            NA               NA
  3  5 40 40     testA     testB      Ustat     -0.054125      0.004989509
  
    NR N0 N1 modalityA modalityB UstatOrMLE     dfBDG    pValueBDG   botCIBDG
  1  5 40 40     testA    NO_MOD      Ustat  6.805222 4.221892e-02  0.5099428
  2  5 40 40     testB    NO_MOD      Ustat 27.408388 1.334002e-05  0.6585682
  3  5 40 40     testA     testB      Ustat  7.350070 4.685760e-01 -0.2211537
     topCIBDG rejectBDG
  1 0.8988072         1
  2 0.8584318         1
  3 0.1129037         0
  
    Elapsed time:  0.156 0.003 7.952 
  ── 1. Failure: .Random.seed is set to expected result (@test_lecuyerRNG.R#10)  ─
  .Random.seed[1] not equal to 407.
  1/1 mismatches
  [1] 10407 - 407 == 10000
  
  [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 
  
  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 
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 10 SKIPPED: 0 FAILED: 1
  1. Failure: .Random.seed is set to expected result (@test_lecuyerRNG.R#10) 
  
  Error: testthat unit tests failed
  Execution halted