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-06 21:31:49 rCBA: initialized
2019-03-06 21:31:49 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.9545914754054958,0.6612384758857068,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.7920891573268661,0.5425382876795387,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.7444789357742035,0.5411510171604346,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.6078062289966517,0.4934369633153354,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.5605335424078423,0.4279306568865957,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.4706293984096229,0.3609510812705292,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.43716625846144747,0.31677483728376693,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.35399529401877944,0.30195030040096904,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.29918604376753777,0.26927729264133354,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.28705530047995964,0.22151277784520337,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.26507408372445385,0.21984889692707568,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.21893919085071437,0.18334719078828646,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.18202287083165375,0.14763815403037375,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.15236949366707048,0.12864299238200422,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.12365528390042312,0.10797392403673348,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.11826990783251401,0.09363149302848334,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 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.09698422187404153,0.08611311242534128,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08195152943750009,0.08432901804971513,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07316772032860688,0.0818865637634755,2
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05886618960530362,0.07571517850657118,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05143403362399806,0.07262374024578211,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 209
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.050537136922347556,0.07210918920988887,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 209
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04197428860562456,0.06454930511911008,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 209
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03939951582820426,0.05916341924697199,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 209
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.038788477857708115,0.051103708929450285,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 209
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03488159427966403,0.04513867734890116,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 209
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.034296596384036426,0.0384064476067313,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 209
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029521229201688256,0.036214610394245235,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 209
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025349317385594112,0.03306501284335194,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 209
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02382225864538266,0.029191986303055337,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 209
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019724466095993345,0.02797447820153533,2
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 209
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-06 21:31:50 rCBA: rules 0
	 took: 0.91  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