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-04 11:42:45 rCBA: initialized
2019-04-04 11:42:45 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.13456470076097682,0.36370303302293494,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11941333774650381,0.3414909396629898,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 4
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1062425166918811,0.32740083119271757,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0975110759467139,0.27650248214335055,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08512703657599789,0.2743118632328178,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0790763185183142,0.23648842144932794,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0681796348300058,0.22137855307225857,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0639352999426105,0.2193323713050882,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05359449154749172,0.18780682019627354,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.045726157892658124,0.15205511957377846,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04447086211162876,0.1328876147402339,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.044006654901915056,0.12101080065046925,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.038200838013617955,0.1008709427652458,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03560257643538678,0.0893684754469609,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03491650826266422,0.08165721816562888,4
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028412264877996016,0.07093734287799114,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028013030657894043,0.06195684963141583,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023359507667573512,0.060775301006260794,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020201786505168746,0.05151859588827183,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01905478420944826,0.050642137566728994,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.017606515510142123,0.046116325461402215,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01507982332862063,0.04322632848060389,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012587884688127922,0.03497695101400824,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011475444007172587,0.0280034162358303,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010090353350048506,0.026265729691146395,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009983043316716794,0.024710265025555452,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009245428488648809,0.024049036799660344,4
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008608841888598427,0.02016977753268936,4
Apr 04, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007068904967428851,0.01639133813913895,4
Apr 04, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006000802138942451,0.014411938914896744,4
Apr 04, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005268267314309596,0.01410166855270646,4
Apr 04, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 225
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-04-04 11:42:47 rCBA: rules 0
	 took: 2.18  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