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-02-28 15:32:14 rCBA: initialized
2019-02-28 15:32:14 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.2396524473261501,0.29074555358850784,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM 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.20028574602847682,0.2825497893013058,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1874718543255046,0.24352264110041946,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18182171331555103,0.23251387568816415,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1568642603207774,0.18652467920507132,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 6
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15391207712959903,0.1830249345935711,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 6
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14167510127118643,0.18272107240380753,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 6
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12791148701753738,0.1728216879103491,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 6
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12490999692884429,0.17059345271372858,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 6
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10451463439237828,0.16106477237545858,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09379064402981804,0.15573421245905109,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07878300690301752,0.14632316600701545,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07247391396172108,0.1273438485575019,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05913099066014884,0.11603412712411154,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05397791618798886,0.10945650945585489,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.053286281797137014,0.10496203735801908,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.050519238796631935,0.10417416044283259,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04709272300510726,0.08798392251342689,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04554884861430595,0.0751073828247391,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04305816671770661,0.0661655168662521,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.042080630161165734,0.06358825629821509,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03567886780504979,0.0602095394238808,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03346481657691556,0.057268086612124625,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030744659772602965,0.05163797633533187,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028080002825903165,0.04244668846253847,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02644129857960021,0.03397962730477013,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02520877812888708,0.030163561405356448,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02199143584912583,0.026254686975894077,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020712189410769882,0.021433781474546408,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018999308668539012,0.021379806309320952,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01714745534056668,0.017562261315220127,1
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 3:32:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-02-28 15:32:14 rCBA: rules 0
	 took: 0.81  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