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

> ### Name: select.inf.chi2
> ### Title: Ranks the features
> ### Aliases: select.inf.chi2
> ### Keywords: feature selection classification chi-squared missing values
> 
> ### ** Examples
> 
> # example for dataset without missing values
> data(data_test)
> 
> # class label must be factor
> data_test[,ncol(data_test)]<-as.factor(data_test[,ncol(data_test)])
> disc<-"equal interval width"
> attrs.nominal=numeric()
> out=select.inf.chi2(data_test,disc.method=disc,attrs.nominal=attrs.nominal)
Warning in discretize(matrix[, i], categories = 3) :
  Parameter categories is deprecated. Use breaks instead! Also, the default method is now frequency!
Warning in discretize(matrix[, i], categories = 3) :
  Parameter categories is deprecated. Use breaks instead! Also, the default method is now frequency!
Warning in discretize(matrix[, i], categories = 3) :
  Parameter categories is deprecated. Use breaks instead! Also, the default method is now frequency!
Warning in discretize(matrix[, i], categories = 3) :
  Parameter categories is deprecated. Use breaks instead! Also, the default method is now frequency!
Warning in discretize(matrix[, i], categories = 3) :
  Parameter categories is deprecated. Use breaks instead! Also, the default method is now frequency!
Warning in discretize(matrix[, i], categories = 3) :
  Parameter categories is deprecated. Use breaks instead! Also, the default method is now frequency!
Warning in discretize(matrix[, i], categories = 3) :
  Parameter categories is deprecated. Use breaks instead! Also, the default method is now frequency!
Warning in discretize(matrix[, i], categories = 3) :
  Parameter categories is deprecated. Use breaks instead! Also, the default method is now frequency!
Warning in discretize(matrix[, i], categories = 3) :
  Parameter categories is deprecated. Use breaks instead! Also, the default method is now frequency!
Warning in discretize(matrix[, i], categories = 3) :
  Parameter categories is deprecated. Use breaks instead! Also, the default method is now frequency!
> 
> # example for dataset with missing values
> data(leukemia_miss)
> xdata=leukemia_miss
> 
> # class label must be factor
> xdata[,ncol(xdata)]<-as.factor(xdata[,ncol(xdata)])
> 
> # nominal features must be factors
> attrs.nominal=101
> xdata[,attrs.nominal]<-as.factor(xdata[,attrs.nominal])
> 
> delThre=0.2
> out=input_miss(xdata,"mean.value",attrs.nominal,delThre)
> if(out$flag.miss)
+ {
+  xdata=out$data
+ }
> disc<-"equal interval width"
> out=select.inf.chi2(xdata,disc.method=disc,attrs.nominal=attrs.nominal)
Warning in discretize(matrix[, i], categories = 3) :
  Parameter categories is deprecated. Use breaks instead! Also, the default method is now frequency!
Error in discretize(matrix[, i], categories = 3) : 
  Some breaks are not unique, use fewer breaks for the data.
Calls: select.inf.chi2 -> ProcessData -> discretize
Execution halted