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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: NHEMO
> ### Title: Non-hierarchical evolutionary multi-objective tree learner to
> ###   perform cost-sensitive classification
> ### Aliases: NHEMO
> ### Keywords: Non-hierarchical evolutionary multi-objective tree learner
> ###   Multi-objective optimization Evolutionary algorithms Classification
> 
> ### ** Examples
> 
> # Simulation of data and costs
>   d         <- Sim_Data(Obs=200)
>   CostMatrix<- Sim_Costs()
> 
> # NHEMO calculations with function NHEMOtree and type="NHEMO"
>   res<- NHEMOtree(method="NHEMO", formula=Y2~., data=d, CostMatrix=CostMatrix, 
+                   gens=5, popsize=10,
+                   max_nodes=5, ngens=5, bound=10^-10, init_prob=0.8, 
+                   ps="tournament", tournament_size=4, crossover="standard", 
+                   crossover_prob=0.1, mutation_prob=0.1, 
+                   CV=5, vim=1)
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in dominated_hypervolume(t(Fitness[, 1:2]), c(100, MaxCosts)) :
  Front includes non finite points.
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in dominated_hypervolume(t(Temp2[, 1:2]), c(100, MaxCosts)) :
  Front includes non finite points.
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Warning in max(table(Subtyp)) :
  no non-missing arguments to max; returning -Inf
Error in if (FKR_Diss < 0) FKR_Diss = 0 : 
  missing value where TRUE/FALSE needed
Calls: NHEMOtree -> NHEMO -> PF_1perm
Execution halted