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-17 23:47:53 rCBA: initialized
2019-04-17 23:47:53 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.9741682974445167,0.1255693000131355,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.813377406617908,0.10125651468501864,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.6608569429772977,0.08593175762444136,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.6565455827258273,0.0755993752910354,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.5336864399311186,0.06132005981926322,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.42697026294308393,0.05102467610772748,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.34933571047315415,0.044868334935542646,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.3396477630944111,0.04457042889540836,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.31289427152000143,0.03783234393345432,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.27054745714036654,0.03616564415137496,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.24357870560480482,0.03614550680612801,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.23057008111995325,0.03405023684472039,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19437281175827748,0.033913685029825114,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1836145727215277,0.02793752892773002,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15468017661688743,0.022992962631997297,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.14150364643057622,0.022489034181646057,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.12156757507698669,0.020422022583190508,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 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.10770514835277155,0.01909255188014567,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10594890310528039,0.01824319816469561,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09254266746162808,0.018009049737753226,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08863690724917284,0.01642420043420581,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08862771765597595,0.015933418657857135,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08113157839438469,0.014602649437192479,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07951178913932427,0.012986812005767687,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07091330584044907,0.01101558444881853,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06579327537760718,0.01078736426894622,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06013721287969388,0.010575261482975938,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05564948112836447,0.00959943614953038,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 204
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04640967016077564,0.008357553933155435,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 204
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03982403337944553,0.006744384213915693,2
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 204
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03568952119053083,0.0065876377631873505,2
Apr 17, 2019 11:47:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 11:47:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 204
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-04-17 23:47:54 rCBA: rules 0
	 took: 0.73  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