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-24 01:07:03 rCBA: initialized
2019-03-24 01:07:03 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.2885860747695085,0.8148455350754121,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.23949670498941802,0.6573491811474681,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22948109112106801,0.5659586263873998,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1973693762621565,0.5458116964834178,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19538965849967427,0.50722761719533,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.17397984477162015,0.4414346266896975,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16585629447423578,0.35720988124766695,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15483866399470347,0.3442940666697885,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 4
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13063657685611046,0.28506260207537476,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 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.12962904972782724,0.2825086611425874,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 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.12074144169274728,0.22614010161383824,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 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.10337774222373756,0.20073588908320442,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08358906018279459,0.17653442852776063,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07699245891990553,0.1640733683944109,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07499283098229327,0.15233601740675887,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06844274615560156,0.12224986102091158,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06758768970563331,0.11720630111473737,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06433702010741099,0.10466078893536993,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.052703296988068436,0.09215602695130563,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04671941722975563,0.08469560329847,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03968246165744059,0.06877895225144091,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03294898597513579,0.05764971932855524,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02740436847369575,0.04968441601215593,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022025009178723676,0.04712896439703012,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018120549256244897,0.040217848629283744,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015324106188129126,0.035189086024375926,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012299363637924715,0.03160629864768879,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012099466218501208,0.027802354084997295,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010457569382884377,0.023305699262963584,3
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:03 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010334263982930282,0.020304097203080535,3
Mar 24, 2019 1:07:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008592370871091739,0.019846341548201984,3
Mar 24, 2019 1:07:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 1:07:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 156
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-03-24 01:07:04 rCBA: rules 0
	 took: 1.04  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