Running ‘testthat.R’ [7s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (require("testthat", character.only = TRUE)) {
  +   test_check("trinROC")
  + }
  Loading required package: testthat
  Loading required package: trinROC
  ── 1. Failure: boot.test() function (@test_trinROC.R#50)  ──────────────────────
  round(temp$p.value, 2) not equal to 0.24.
  1/1 mismatches
  [1] 0.25 - 0.24 == 0.01
  
  ── 2. Failure: boot.test() function (@test_trinROC.R#56)  ──────────────────────
  unname(round(temp$statistic, 3)) not equal to 0.537.
  1/1 mismatches
  [1] 0.534 - 0.537 == -0.003
  
  
   Data overview of empirical ROC Classifier 
  --------------------------------------------------------------------- 
  
   Applied test: Bootstrap test 
   Significance level: 0.05
   Alternative hypothesis: two.sided
  --------------------------------------------------------------------- 
   data: D-, D0 and D+
  
   Boot statistic: 1.144 ,  Boot p.value: 0.25256 
  
   empirical VUS: 0.368 
  --------------------------------------------------------------------- 
  ── 3. Failure: roc.eda(), whole functionality (@test_trinROC.R#116)  ───────────
  unname(round(temp$statistic, 3)) not equal to 1.163.
  1/1 mismatches
  [1] 1.14 - 1.16 == -0.019
  
  
   Data overview of trinormal ROC Classifier 
  --------------------------------------------------------------------- 
  
   Applied tests: Trinormal based ROC and VUS test 
   Significance level: 0.05
   Alternative hypothesis: two.sided
  --------------------------------------------------------------------- 
   data: D-, D0 and D+
  
   ROC test statistic: 8.321 ,  ROC p.value: 0.08051 
   VUS test statistic: 0.868 ,  VUS p.value: 0.38533 
  
   trinormal VUS: 0.278 
  
   Parameters: 
   	a	b	c	d	
   	0.6959	-0.2546	0.4462	0.1083	
  --------------------------------------------------------------------- 
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 40 SKIPPED: 0 FAILED: 3
  1. Failure: boot.test() function (@test_trinROC.R#50) 
  2. Failure: boot.test() function (@test_trinROC.R#56) 
  3. Failure: roc.eda(), whole functionality (@test_trinROC.R#116) 
  
  Error: testthat unit tests failed
  Execution halted