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

> ### Name: frameToRules
> ### Title: Conversion of 'data.frame' to 'rules' from 'arules'
> ### Aliases: frameToRules
> 
> ### ** Examples
> 
> library("rCBA")
> data("iris")
> 
> output <- rCBA::buildFPGrowth(iris[sample(nrow(iris), 20),], "Species", parallel=FALSE)
2019-04-08 07:40:38 rCBA: initialized
2019-04-08 07:40:38 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.9857975367886023,0.4985033840656825,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.8276672353109372,0.45273642516893536,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.6872830265928844,0.4253139122612478,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5797623856698789,0.4115097622873159,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.4989851242522223,0.40753303701921867,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.42979040120841233,0.385940197064587,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.34712789612531153,0.3445700553445657,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3132122878535681,0.3227267402964528,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.25287322692068687,0.31916482983360656,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.23052223855104687,0.2651348659661669,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18854757770608377,0.2604487159516531,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1524080598277799,0.22014266328011714,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13841306582954663,0.1992853914650004,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1256127889985273,0.1953036227527355,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12181757222076707,0.1944645576061613,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10211057312003602,0.18832380883569888,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0902084215890813,0.17197210151149797,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07903692883302744,0.15734767342684958,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06656254983491285,0.13740008262501063,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06648198806383551,0.1252455713613131,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05910372977556398,0.12030302113094016,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0555536937149608,0.10159111078220731,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 202
Rules: 57
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05341768363639816,0.09065723441320775,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 202
Rules: 57
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.046586667832288445,0.08673518102053165,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 202
Rules: 57
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.039712343089005425,0.07351661475545587,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 202
Rules: 57
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.034832143059478744,0.06720161010994774,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 202
Rules: 57
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.031108858657863492,0.05716598001644165,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 202
Rules: 57
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02733037309229729,0.053627001350627077,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 202
Rules: 57
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02313607011518821,0.043209858610276854,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 202
Rules: 57
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01863041495191577,0.035257526758581674,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 202
Rules: 57
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015942210505458923,0.02866784758294391,2
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 08, 2019 7:40:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 202
Rules: 57
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-08 07:40:38 rCBA: rules 0
	 took: 0.22  s
> model <- as(output$model,"data.frame")
> 
> rules <- rCBA::frameToRules(model)
Error in `[.data.frame`(model, , 2:4) : undefined columns selected
Calls: <Anonymous> -> [ -> [.data.frame
Execution halted