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-26 06:46:56 rCBA: initialized
2019-03-26 06:46:56 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8056645948292754,0.10454907343579423,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.6769716216575715,0.08680930694193835,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.5900392492735688,0.07868326502711417,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.5545880919969375,0.07735023259900663,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.48900102743040996,0.06951535604443394,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.4751977378053893,0.058823680428028824,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.4077035070041919,0.049016149911580244,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.34351561188386553,0.04051023811397363,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.3418060319486238,0.03739198775864171,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.3278723050133994,0.03365877668959848,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.31837001056877984,0.02752633545689762,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.31703551321028195,0.026568971259289823,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.27252888357967636,0.02388231945379107,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2244981155426078,0.019474655339664342,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.21455043074653066,0.018033583927536283,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1932149592536133,0.015761637173656157,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16471338858382528,0.01556005399669146,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.14300184533028304,0.014508738264533468,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.11887063364596367,0.01307244051287351,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 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.11315948326760875,0.011514848970688255,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09372841724762908,0.010953128966508081,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09088417656302522,0.01081295509813047,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08450943114246479,0.00969691049074994,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08130326891106711,0.008582320634559073,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07414204680123462,0.008512028712780142,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06213429523067686,0.007352583485065575,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.061478303381699295,0.0064385999370345295,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06092392138880655,0.005922606359481361,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.052962828956577,0.0050272787099350826,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 58
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05232494257149975,0.004646280878534191,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 58
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.042443057907974154,0.003885256412460302,2
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:46:56 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 58
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-03-26 06:46:56 rCBA: rules 0
	 took: 0.19  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