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-04-20 20:17:01 rCBA: initialized
2019-04-20 20:17:01 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8168687770864623,0.38688304075142277,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.7262560412661824,0.3120398772641443,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.7131916764579546,0.2648314669515949,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.607692782006794,0.2538973794164544,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.603249073819927,0.20548700737121622,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.5750548685006752,0.1701110621517877,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.5179587691062345,0.15814110364977807,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.49868289245565434,0.15496331257868534,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.44134990649732453,0.13912573941597178,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.40023742970918,0.13532761807363863,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.3988248474627445,0.13509911418865864,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.32324886371929173,0.11698440469678097,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.3012753764157527,0.11459604514190101,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.28749194501944586,0.09897807279133716,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 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.23485054354077062,0.09837859067686262,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 5
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20259578992799793,0.09625422153891855,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 5
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20174538576371476,0.09578928136539644,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 5
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16495038107541077,0.07828519326091017,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 PM 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.15671308464087688,0.0749816215303842,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 PM 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.1558465493740796,0.07417171471254845,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 PM 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.12518836788640497,0.06992913368055557,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 PM 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.1197114922717806,0.056227528499903826,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 PM 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.10247576748728385,0.054865882177457345,2
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08293704052618193,0.04908028434140852,2
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08282188286804186,0.0454894955619769,2
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06818701714753654,0.04226342024920478,2
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06077009026985073,0.037407396190914224,2
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05763522057668497,0.03381287127976489,2
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 205
Rules: 59
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.050247109571605,0.030653557524406277,2
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 205
Rules: 59
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.041509489456536534,0.02463105307641216,2
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 205
Rules: 59
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03548201068470644,0.021681188039247814,2
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 8:17:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 205
Rules: 59
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-04-20 20:17:02 rCBA: rules 0
	 took: 0.95  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