Running examples in ‘rCBA-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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-11 21:33:09 rCBA: initialized
2019-04-11 21:33:09 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.9052278955242634,0.7216454596541989,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 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.7762749425086183,0.5816753281119045,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 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.6231674339506099,0.5426437206087109,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 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.5087008238757729,0.4779462684316272,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 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.4247028082859955,0.4131139803479472,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 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.4113942281193525,0.36969569141068276,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 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.4083926418280598,0.3566017290016116,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 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.34570291720617874,0.3157910096500057,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 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.2951085857828967,0.3143260612675894,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 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.2504630794024214,0.2999477868076809,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.23272564780230845,0.24602722650251296,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18686907366561892,0.24268240159997917,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.17906193664626244,0.22748950951891156,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15947905225728257,0.2162091296605799,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13501153459502963,0.21578489900449296,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10920645032629422,0.20695453820350204,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08830582458719678,0.16708140593538473,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07093604582878528,0.1357967010725375,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06690770130199947,0.133464710635359,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.056695333500191826,0.10838720853833328,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.052920014555792906,0.10337226125364346,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05114232710180762,0.08553672097369167,3
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:09 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05101443685512886,0.07909680076561562,3
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04638110320957137,0.07456974612843116,3
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03891959220091124,0.07449591522189422,3
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03326030249500316,0.0635909408736676,3
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03142865362756779,0.0545798224150714,3
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02540145786041411,0.05416873730406008,3
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.024396682958447814,0.044983571494471436,3
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.024173597514765163,0.03950345808783525,3
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020269282609540088,0.03323787618327708,3
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 9:33:10 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 374
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-11 21:33:10 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