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-03-01 10:07:05 rCBA: initialized
2019-03-01 10:07:05 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.4688706006710587,0.25403017155507146,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.4615676437544656,0.23111773292877225,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.39443623722529275,0.18944729564019952,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3244035334903999,0.17394357443756045,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.26708971126332653,0.16334923397312445,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22281440581599285,0.13242146040163016,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20751753914090643,0.12371710417363281,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19183479593322025,0.11467756383659299,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15841336373847129,0.09918941484819543,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14374207551492618,0.09584753485752479,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11874801628160994,0.09500817233175994,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10373491448149852,0.09440898620708603,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (14)
Frequent patterns: 31
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09531927819506393,0.08361894186315044,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (14)
Frequent patterns: 31
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08208691254303993,0.08212073682761493,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (14)
Frequent patterns: 31
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07878740594647599,0.07133957396564339,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (14)
Frequent patterns: 31
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06669311494407726,0.058372641624163765,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (14)
Frequent patterns: 31
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06628237786388148,0.05165527619584263,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (14)
Frequent patterns: 31
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05833155107451464,0.04199835746681112,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.057277617053078864,0.03544815622936337,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.056720866767082996,0.03206098985557365,4
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:05 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05016465052708669,0.02840779693002612,4
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.042766420456427034,0.02608233479081238,4
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0424280473228349,0.02606543916163022,4
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.041501817896042535,0.02242752922649799,4
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03399281919705483,0.020619288584356583,4
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03119077357004007,0.017675543516737897,4
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030426883987837147,0.015313437418997397,4
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02707150759365004,0.0126302864406122,4
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022300153148071374,0.010640553731275978,4
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02125172373144009,0.009151857137586667,4
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020995656854543843,0.008252320479800705,4
Mar 01, 2019 10:07:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:07:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 460
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-01 10:07:07 rCBA: rules 0
	 took: 2.01  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