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

> ### Name: ubRacing
> ### Title: Racing
> ### Aliases: ubRacing
> 
> ### ** Examples
> 
> #use Racing to select the best technique for an unbalanced dataset
> library(unbalanced)
> data(ubIonosphere)
> 
> #configure sampling parameters
> ubConf <- list(type="ubUnder", percOver=200, percUnder=200, k=2, perc=50, method="percPos", w=NULL)
> 
> #load the classification algorithm that you intend to use inside the Race
> #see 'mlr' package for supported algorithms
> library(randomForest)
randomForest 4.6-14
Type rfNews() to see new features/changes/bug fixes.
> #use only 5 trees
> results <- ubRacing(Class ~., ubIonosphere, "randomForest", positive=1, ubConf=ubConf, ntree=5)

 Racing for unbalanced methods selection in 10 fold CV 
 Number of candidates...........................................9 
 Max number of folds in the CV.................................10 
 Max number of experiments....................................100 
 Statistical test...................................Friedman test 
                                                               
                             Markers:                           
                                x No test is performed.         
                                - The test is performed and     
                                  some candidates are discarded.
                                = The test is performed but     
                                  no candidate is discarded.    
                                                                
 +-+-----------+-----------+-----------+-----------+-----------+
 | |       Fold|      Alive|       Best|  Mean best| Exp so far|
 +-+-----------+-----------+-----------+-----------+-----------+
Error in predCandidate(Xtr, Ytr, Xts, Yts, algo, balanceTypes[j], positive,  : 
  task 1 failed - "there is no package called 'XML'"
Calls: ubRacing -> testCandidates -> doParal -> <Anonymous>
Execution halted