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

> ### Name: dataTrans
> ### Title: Data Transformation for Leland Wilkinson's _hdoutliers_
> ###   Algorithm
> ### Aliases: dataTrans
> ### Keywords: cluster
> 
> ### ** Examples
> 
>  require(FactoMineR)
>  data(tea)
>  head(tea)
      breakfast     tea.time     evening     lunch     dinner     always home
1     breakfast Not.tea time Not.evening Not.lunch Not.dinner Not.always home
2     breakfast Not.tea time Not.evening Not.lunch Not.dinner Not.always home
3 Not.breakfast     tea time     evening Not.lunch     dinner Not.always home
4 Not.breakfast Not.tea time Not.evening Not.lunch     dinner Not.always home
5     breakfast Not.tea time     evening Not.lunch Not.dinner     always home
6 Not.breakfast Not.tea time Not.evening Not.lunch     dinner Not.always home
      work     tearoom     friends     resto     pub       Tea   How    sugar
1 Not.work Not.tearoom Not.friends Not.resto Not.pub     black alone    sugar
2 Not.work Not.tearoom Not.friends Not.resto Not.pub     black  milk No.sugar
3     work Not.tearoom     friends     resto Not.pub Earl Grey alone No.sugar
4 Not.work Not.tearoom Not.friends Not.resto Not.pub Earl Grey alone    sugar
5 Not.work Not.tearoom Not.friends Not.resto Not.pub Earl Grey alone No.sugar
6 Not.work Not.tearoom Not.friends Not.resto Not.pub Earl Grey alone No.sugar
      how       where           price age sex          SPC         Sport age_Q
1 tea bag chain store       p_unknown  39   M       middle     sportsman 35-44
2 tea bag chain store      p_variable  45   F       middle     sportsman 45-59
3 tea bag chain store      p_variable  47   F other worker     sportsman 45-59
4 tea bag chain store      p_variable  23   M      student Not.sportsman 15-24
5 tea bag chain store      p_variable  48   M     employee     sportsman 45-59
6 tea bag chain store p_private label  21   M      student     sportsman 15-24
  frequency     escape.exoticism     spirituality     healthy     diuretic
1     1/day Not.escape-exoticism Not.spirituality     healthy Not.diuretic
2     1/day     escape-exoticism Not.spirituality     healthy     diuretic
3    +2/day Not.escape-exoticism Not.spirituality     healthy     diuretic
4     1/day     escape-exoticism     spirituality     healthy Not.diuretic
5    +2/day     escape-exoticism     spirituality Not.healthy     diuretic
6     1/day Not.escape-exoticism Not.spirituality     healthy Not.diuretic
      friendliness     iron.absorption     feminine     sophisticated
1 Not.friendliness Not.iron absorption Not.feminine Not.sophisticated
2 Not.friendliness Not.iron absorption Not.feminine Not.sophisticated
3     friendliness Not.iron absorption Not.feminine Not.sophisticated
4 Not.friendliness Not.iron absorption Not.feminine     sophisticated
5     friendliness Not.iron absorption Not.feminine Not.sophisticated
6 Not.friendliness Not.iron absorption Not.feminine Not.sophisticated
     slimming    exciting    relaxing    effect.on.health
1 No.slimming No.exciting No.relaxing No.effect on health
2 No.slimming    exciting No.relaxing No.effect on health
3 No.slimming No.exciting    relaxing No.effect on health
4 No.slimming No.exciting    relaxing No.effect on health
5 No.slimming No.exciting    relaxing No.effect on health
6 No.slimming No.exciting    relaxing No.effect on health
>  dataTrans(tea[,-1])
Error in res.mca$eig[1:(nlevels(Xact) - 1), , drop = FALSE] : 
  subscript out of bounds
Calls: dataTrans -> sapply -> lapply -> FUN -> MCA
Execution halted