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-21 15:25:24 rCBA: initialized
2019-03-21 15:25:24 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.9341652014204819,0.5641852071155853,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM 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.8269290428239083,0.46079149253502566,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM 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.7490625420954793,0.41900732108955796,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM 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.6384088835135362,0.3591093817877015,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM 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.5610040493130791,0.29197036768516865,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM 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.5270740291460165,0.263591734875327,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM 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.49635360357839503,0.22589849129240275,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM 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.402888045667641,0.2086356488282615,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM 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.3483185745182049,0.1683234819517624,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM 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.3411640841805018,0.16482206888481624,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM 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.2733477048424762,0.14620221657649915,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 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.2254382861081148,0.1364092155622638,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 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.19223413909037135,0.12030959714911414,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 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.16208572738155508,0.11268636623815918,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15261327343931635,0.10293892014758688,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15260131468470475,0.1016261472137906,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14687502313080922,0.08496626067037155,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11780129154116531,0.06948172085625848,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11152104694989427,0.05817089714265787,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 27
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10923467522436539,0.05641430602312046,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 27
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09082799526881323,0.04586160513239002,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 27
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08503380750897409,0.04224204029726435,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 27
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.081803210906961,0.042214972878680826,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 27
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08049251174790088,0.04183111355967087,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 27
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06991710129743377,0.04119980733423824,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 27
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.056203223270506864,0.034272564532386966,4
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 468
Rules: 231
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05404158753880569,0.027491859422517223,4
Mar 21, 2019 3:25:25 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:25 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 468
Rules: 231
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05368173033594112,0.022822050908174223,4
Mar 21, 2019 3:25:25 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:25 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 468
Rules: 231
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05169462737832574,0.020621370011679012,4
Mar 21, 2019 3:25:25 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:25 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 468
Rules: 231
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.049235456628667615,0.01822561028137044,4
Mar 21, 2019 3:25:25 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:25 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 468
Rules: 231
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.047154344349895884,0.015725371414433753,4
Mar 21, 2019 3:25:25 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 21, 2019 3:25:25 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 468
Rules: 231
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-21 15:25:25 rCBA: rules 0
	 took: 1.12  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