Running examples in 'UncertainInterval-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: nlopt.ui.general
> ### Title: Function for the determination of the population thresholds an
> ###   uncertain and inconclusive interval for test scores with a known
> ###   common distribution.
> ### Aliases: nlopt.ui.general
> 
> ### ** Examples
> 
> # A simple test model:
> nlopt.ui.general(Se = .55, Sp = .55,
+                  distribution = "norm",
+                  parameters.d0 = c(mean = 0, sd = 1),
+                  parameters.d1 = c(mean = 1, sd = 1),
+                  overlap.interval=c(-2,3))
$status
[1] 4

$message
[1] "NLOPT_XTOL_REACHED: Optimization stopped because xtol_rel or xtol_abs (above) was reached."

$intersection
[1] 0.5

$results
exp.Sp.ui exp.Se.ui      mean        sd      mean        sd 
     0.55      0.55      0.00      1.00      1.00      1.00 

$solution
         L          U 
0.09307899 0.90692101 

> # Standard procedure when using a continuous distribution:
> nlopt.ui.general(parameters.d0 = c(mean = 0, sd = 1),
+                  parameters.d1 = c(mean = 1.6, sd = 2))
Warning in nlopt.ui.general(parameters.d0 = c(mean = 0, sd = 1), parameters.d1 = c(mean = 1.6,  :
  More than one point of intersection. Point with highest density used.
$status
[1] 4

$message
[1] "NLOPT_XTOL_REACHED: Optimization stopped because xtol_rel or xtol_abs (above) was reached."

$intersection
[1] 1.194674

$results
exp.Sp.ui exp.Se.ui      mean        sd      mean        sd 
     0.55      0.55      0.00      1.00      1.60      2.00 

$solution
        L         U 
0.9106663 1.5315211 

> # Function to calculate the Area under the Receiving Operating Characteristics
> # Curve (AUC or C-statistic)
> emp.AUC <- function(norm, abnorm) {
+   o = outer(abnorm, norm, "-")
+   mean((o > 0) + .5 * (o == 0))
+ }
> 
> library(MASS)
> library(car)
Error in library(car) : there is no package called 'car'
Execution halted