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-10 08:00:46 rCBA: initialized
2019-04-10 08:00:46 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.11604030489465811,0.29997555094253925,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1090534197432583,0.2580803936199524,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10529448481277551,0.21193747609336178,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08586404277787849,0.19662144974134543,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08517619719496504,0.17146660165775127,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07695624642754843,0.1673867332875595,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06373781450880553,0.1664933630623843,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.061602001573608636,0.15514014258407127,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05892068439625528,0.13283249962732846,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05760638734933266,0.10700383246988543,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05659045763263572,0.09179577385573219,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0536500433858812,0.08007716037613628,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04446109930735566,0.06444051358785467,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.038710773649866415,0.052183060849537215,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03309208585286186,0.04905222842868376,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03013308103577816,0.04048449239143576,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027767732339427927,0.03691843221444,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022308670145007144,0.03300294706107083,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02199085655650849,0.03262480803156962,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02131720366511563,0.02867358834204683,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020904275715141342,0.024067598430232096,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018762909170594574,0.022013389488900047,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.017092270497673555,0.018971354829797296,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015555882018496047,0.01884781244857151,3
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013690351026701918,0.017846437186856256,3
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01200939978346889,0.014569805703658133,3
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011422446238857428,0.013840950179734543,3
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00938205544878168,0.011683799535857187,3
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008841362307119429,0.011235067090724919,3
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007273275409332516,0.010287934905732522,3
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00623681510027895,0.009841879807046143,3
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 10, 2019 8:00:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-04-10 08:00:47 rCBA: rules 0
	 took: 0.55  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