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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: opf_pruning
> ### Title: Executes the pruning algorithm
> ### Aliases: opf_pruning
> 
> ### ** Examples
> 
> dat <- opf_read_subGraph(system.file("extdata/boat.dat",package = "LibOPF"))
> X <- opf_split(dat,0.3,0.2,0.5,0)

Summation of set percentages = 1.0 ... OK
Checking set percentages ... OK
Reading data set ... OK
Splitting data set ... OK
Writing data sets to disk ... OK
Deallocating memory ... OK
> T <- X$training
> T2 <- X$testing
> E <- X$evaluating
> Y <- opf_pruning(T,E,0.8)

Reading data files ... OK
Pruning training set ...
Running iteration 1 ... Current accuracy: 96.43% OK
Running iteration 2 ... Current accuracy: 96.43% OK
Running iteration 3 ... Current accuracy: 96.43% OK
Running iteration 4 ... Current accuracy: 96.43% OK
Running iteration 5 ... Current accuracy: 96.43% OK
Running iteration 6 ... Current accuracy: 100.00% OK
Running iteration 7 ... Current accuracy: 100.00% OK
Running iteration 8 ... Current accuracy: 96.43% OK
Running iteration 9 ... Current accuracy: 89.29% OK
Running iteration 10 ... Current accuracy: 67.86% OK
Running iteration 11 ... Current accuracy: 50.00% OK
Running iteration 12 ... Current accuracy: 50.00% OK
Running iteration 13 ... Current accuracy: 50.00% OK
Running iteration 14 ... Current accuracy: 50.00% OK
Running iteration 15 ... Current accuracy: 50.00% OK
Running iteration 16 ... Current accuracy: 50.00% OK
Running iteration 17 ... Current accuracy: 50.00% OK
Running iteration 18 ... Current accuracy: 50.00% OK
Running iteration 19 ... Current accuracy: 50.00% OK
Running iteration 20 ... Current accuracy: 50.00% OK
Running iteration 21 ... Current accuracy: 50.00% OK
Running iteration 22 ... Current accuracy: 50.00% OK
Running iteration 23 ... Current accuracy: 50.00% OK
Running iteration 24 ... Current accuracy: 50.00% OK
Running iteration 25 ... Current accuracy: 50.00% OK
Running iteration 26 ... Current accuracy: 50.00% OK
Running iteration 27 ... Current accuracy: 50.00% OK
Running iteration 28 ... Current accuracy: 50.00% OK
Running iteration 29 ... Current accuracy: 50.00% OK
Running iteration 30 ... Current accuracy: 50.00% OK
Running iteration 31 ... Current accuracy: 50.00% OK
Running iteration 32 ... Current accuracy: 50.00% OK
Running iteration 33 ... Current accuracy: 50.00% OK
Running iteration 34 ... Current accuracy: 50.00% OK
Running iteration 35 ... Current accuracy: 50.00% OK
Running iteration 36 ... Current accuracy: 50.00% OK
Running iteration 37 ... Current accuracy: 50.00% OK
Running iteration 38 ... Current accuracy: 50.00% OK
Running iteration 39 ... Current accuracy: 50.00% OK
Running iteration 40 ... Current accuracy: 50.00% OK
Running iteration 41 ... Current accuracy: 50.00% OK
Running iteration 42 ... Current accuracy: 50.00% OK
Running iteration 43 ... Current accuracy: 50.00% OK
Running iteration 44 ... Current accuracy: 50.00% OK
Running iteration 45 ... Current accuracy: 50.00% OK
Running iteration 46 ... Current accuracy: 50.00% OK
Running iteration 47 ... Current accuracy: 50.00% OK
Running iteration 48 ... Current accuracy: 50.00% OK
Running iteration 49 ... Current accuracy: 50.00% OK
Running iteration 50 ... Current accuracy: 50.00% OK
Running iteration 51 ... Current accuracy: 50.00% OK
Running iteration 52 ... Current accuracy: 50.00% OK
Running iteration 53 ... Current accuracy: 50.00% OK
Running iteration 54 ... Current accuracy: 50.00% OK
Running iteration 55 ... Current accuracy: 50.00% OK
Running iteration 56 ... Current accuracy: 50.00% OK
Running iteration 57 ... Current accuracy: 50.00% OK
Running iteration 58 ... Current accuracy: 50.00% OK
Running iteration 59 ... Current accuracy: 50.00% OK
Running iteration 60 ... Current accuracy: 50.00% OK
Running iteration 61 ... Current accuracy: 50.00% OK
Running iteration 62 ... Current accuracy: 50.00% OK
Running iteration 63 ... Current accuracy: 50.00% OK
Running iteration 64 ... Current accuracy: 50.00% OK
Running iteration 65 ... Current accuracy: 50.00% OK
Running iteration 66 ... Current accuracy: 50.00% OK
Running iteration 67 ... Current accuracy: 50.00% OK
Running iteration 68 ... Current accuracy: 50.00% OK
Running iteration 69 ... Current accuracy: 50.00% OK
Running iteration 70 ... Current accuracy: 50.00% OK
Running iteration 71 ... Current accuracy: 50.00% OK
Running iteration 72 ... Current accuracy: 50.00% OK
Running iteration 73 ... Current accuracy: 50.00% OK
Running iteration 74 ... Current accuracy: 50.00% OK
Running iteration 75 ... Current accuracy: 50.00% OK
Running iteration 76 ... Current accuracy: 50.00% OK
Running iteration 77 ... Current accuracy: 50.00% OK
Running iteration 78 ... Current accuracy: 50.00% OK
Running iteration 79 ... Current accuracy: 50.00% OK
Running iteration 80 ... Current accuracy: 50.00% OK
Running iteration 81 ... Current accuracy: 50.00% OK
Running iteration 82 ... Current accuracy: 50.00% OK
Running iteration 83 ... Current accuracy: 50.00% OK
Running iteration 84 ... Current accuracy: 50.00% OK
Running iteration 85 ... Current accuracy: 50.00% OK
Running iteration 86 ... Current accuracy: 50.00% OK
Running iteration 87 ... Current accuracy: 50.00% OK
Running iteration 88 ... Current accuracy: 50.00% OK
Running iteration 89 ... Current accuracy: 50.00% OK
Running iteration 90 ... Current accuracy: 50.00% OK
Running iteration 91 ... Current accuracy: 50.00% OK
Running iteration 92 ... Current accuracy: 50.00% OK
Running iteration 93 ... Current accuracy: 50.00% OK
Running iteration 94 ... Current accuracy: 50.00% OK
Running iteration 95 ... Current accuracy: 50.00% OK
Running iteration 96 ... Current accuracy: 50.00% OK
Running iteration 97 ... Current accuracy: 50.00% OK
Running iteration 98 ... Current accuracy: 50.00% OK
Running iteration 99 ... Current accuracy: 50.00% OK
Running iteration 100 ... Current accuracy: 50.00% OK OK
Final pruning rate: 100.00%

Writing classifier's model file ... OK OK
Pruning time: 0.001196 seconds

Deallocating memory ... OK
Error in `*tmp*`[[i]] : 
  attempt to select less than one element in integerOneIndex
Calls: opf_pruning -> opf_read_modelfile -> opf_create_subGraph
Execution halted