Running examples in ‘trinROC-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: trinROC.test
> ### Title: Trinormal based ROC test
> ### Aliases: trinROC.test
> 
> ### ** Examples
> 
> data(cancer)
> data(krebs)
> 
> # investigate a single marker:
> trinROC.test(dat = cancer[,c(1,3)])

	Trinormal based ROC test for single classifier assessment

data:  healthy  intermediate  diseased  of  Class2
Chi-Squared test = 47.105, df = 4, p-value = 1.45e-09
alternative hypothesis: true a1-a2, b1-b1, c1-c2 and d1-d2 is not equal to 0
sample estimates:
             VUS        a        b        c         d
Class2 0.4158225 1.837083 -1.23332 0.843642 0.5600527

> trinROC.test(dat = krebs[,c(1,5)])

	Trinormal based ROC test for single classifier assessment

data:  healthy  intermediate  diseased  of  Fac4
Chi-Squared test = 15.006, df = 4, p-value = 0.004688
alternative hypothesis: true a1-a2, b1-b1, c1-c2 and d1-d2 is not equal to 0
sample estimates:
           VUS       a         b         c         d
Fac4 0.3076774 1.45496 -0.314366 0.8000247 0.5608057

> 
> # result is equal to:
> x1 <- with(cancer, cancer[trueClass=="healthy", 3])
> y1 <- with(cancer, cancer[trueClass=="intermediate", 3])
> z1 <- with(cancer, cancer[trueClass=="diseased", 3])
> trinROC.test(x1, y1, z1)

	Trinormal based ROC test for single classifier assessment

data:  x1 y1 and z1
Chi-Squared test = 47.105, df = 4, p-value = 1.45e-09
alternative hypothesis: true a1-a2, b1-b1, c1-c2 and d1-d2 is not equal to 0
sample estimates:
                   VUS        a        b        c         d
Classifier1: 0.4158225 1.837083 -1.23332 0.843642 0.5600527

> 
> # comparison of marker 2 and 6:
> trinROC.test(dat = cancer[,c(1,3,5)], paired = TRUE)
Error in `[[<-.data.frame`(`*tmp*`, i, value = c(0.415822517786196, NA : 
  replacement has 2 rows, data has 1
Calls: trinROC.test ... [<-.data.frame -> xpdrows.data.frame -> [[<- -> [[<-.data.frame
Execution halted