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-03-17 21:34:04 rCBA: initialized
2019-03-17 21:34:04 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.24876012108894197,0.05647878765638903,3
Mar 17, 2019 9:34:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:04 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.2469805904512938,0.05155306881237132,3
Mar 17, 2019 9:34:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:04 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.2034776763551622,0.05026632190834396,3
Mar 17, 2019 9:34:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:04 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.1879586677096231,0.05018906808016544,3
Mar 17, 2019 9:34:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:04 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.1595897603817709,0.04664083940793312,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM 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.13100341893133247,0.04253344970505883,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM 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.12459782522530934,0.04087992067487987,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM 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.11497002509607708,0.03607254476125417,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10139107999239493,0.03601433603495828,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09621753918397166,0.03501425182016161,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09490931351560186,0.03045818031984328,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09285651405410195,0.024389454682035353,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08370622528948751,0.021791007072845054,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07370706120485457,0.020938538773673687,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.061358489497895866,0.018636022304935822,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05934281853603805,0.015838251007163615,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.054880040379705675,0.015489562535746251,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.050800157850742336,0.014095152091739598,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04876558869514191,0.012935081772170967,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.047700028054972074,0.011387304432408134,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04299501968821851,0.009362036789428915,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04161069352262168,0.009348236338330828,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.037065740900422146,0.008665950410200166,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03400504204267925,0.00830249792921242,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.032413352908956194,0.006829837621984961,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030052820417648483,0.005654918782223535,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027259194744001604,0.005032947650901668,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.024063014824831242,0.004382777369583143,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023961684169299138,0.0037460875210867653,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02230046461945957,0.0032129165294294626,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02137029491486369,0.003131067199259545,3
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 9:34:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-17 21:34:06 rCBA: rules 0
	 took: 1.13  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