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-16 21:38:23 rCBA: initialized
2019-04-16 21:38:23 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.005011186694684366,0.8008973002384481,3
Apr 16, 2019 9:38:23 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:23 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 140
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004150562228982282,0.7214293329777977,3
Apr 16, 2019 9:38:23 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:23 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 140
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.003962541556331732,0.578815169901168,3
Apr 16, 2019 9:38:23 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:23 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 140
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0037871615571020176,0.5028186972077794,3
Apr 16, 2019 9:38:23 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:23 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 140
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0034991618710046943,0.4722797345136938,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 152
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0031857426197480815,0.404940391119665,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 152
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0027698652401040467,0.36138791931791436,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 154
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0027217580497493803,0.34659429914379114,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0026182339642850114,0.3172723309512848,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002316241690351214,0.2557379885958638,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002083477679336094,0.21319723689362477,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0018650822291285231,0.20169361776511552,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.001639165075001673,0.1840737678065097,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0016233584133725938,0.1509702801663602,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0014561246613378675,0.14667371677744515,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.001269358117306336,0.13809406765926563,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0010865211161343428,0.13616383380260305,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 8.94902305555041E-4,0.13214126722344693,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 7.910588215629402E-4,0.1140080093702434,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 6.621155406990533E-4,0.09280405451036075,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 5.32194197101487E-4,0.08724260119828933,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 4.373919859818321E-4,0.07312496102530847,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 4.29552559903101E-4,0.06370420167843532,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 4.284499493468502E-4,0.06215804079615826,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 3.746227744439789E-4,0.054762533847099365,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 3.357700981819803E-4,0.051256011378698126,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 2.8350185669652976E-4,0.04879582970717703,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 2.4060303598916896E-4,0.04288460176087878,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 2.1192743177490738E-4,0.038186526961571016,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 1.956048616196832E-4,0.03065351897223574,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 1.685686797877897E-4,0.026162138167024583,3
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 16, 2019 9:38:24 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-16 21:38:24 rCBA: rules 0
	 took: 1.17  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