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-16 21:01:33 rCBA: initialized
2019-03-16 21:01:33 rCBA: data 20x5
	 took: 0.02  s
Evaluate: 0.20898494937285128,0.7726801535238774,3
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20509735867811757,0.633684524114112,3
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19778881437364482,0.542901530117691,3
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1631294865833414,0.5329322190985624,3
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14688385904445542,0.4301814481094819,3
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14459893774628135,0.34428183178366023,3
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:33 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 4
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13479946136922247,0.30403763235882414,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 4
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13338558877150636,0.2851854844271918,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12659301349560642,0.25139845396703286,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11682198282633134,0.2388189170112553,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10797599127421775,0.20676864962168462,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08640805363613434,0.16630626530217663,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0853804631911768,0.15100690794001576,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07438391027734036,0.13400457278640326,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06497947177624924,0.11528289755565654,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06472306081390622,0.09304986395382162,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05317584861148913,0.07686895926036075,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05221169241245514,0.07311016999350115,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04753441986051309,0.06771059100895577,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03987369110231865,0.05474424279292056,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03622817591011733,0.05384553833742458,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03469530433070576,0.04969260600815418,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.032668764838143585,0.04419396185911303,3
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:34 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026209472516925063,0.035644558835688664,3
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02384429123997563,0.03031778561259764,3
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020548512118582617,0.024821707840177034,3
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018442049412088875,0.021692405929179724,3
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016842141366488646,0.01920667077152865,3
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016411506663396854,0.01710785782874667,3
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014904194616100406,0.014077331906177167,3
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01198794536927912,0.012544409145115815,3
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 16, 2019 9:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 371
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-16 21:01:36 rCBA: rules 0
	 took: 2.21  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