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-02 23:38:57 rCBA: initialized
2019-04-02 23:38:57 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.39630012331331277,0.3268838358750745,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.35058712889587723,0.31282096056300457,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.3357550327121382,0.28864706422871245,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.3276820603545318,0.24712279860072833,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.2757289359167578,0.1981168347447977,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.2753718075215475,0.17631964401550265,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.2690070755943482,0.14157384204678633,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.22106673121130932,0.12832351812500636,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.18788951430690318,0.11943712629280476,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.16387341862970867,0.10678364258282239,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.14022979573643346,0.1030197138592783,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.1286556926895663,0.09726297117144422,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 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.1120203657201607,0.08117003587831804,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10433204104991865,0.0685719070232944,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09273763362008812,0.06832798703154266,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08972062610870245,0.05739353496395942,4
Apr 02, 2019 11:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08622375339866109,0.051584494877397295,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08467475807227869,0.043586322188429276,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07571973829157534,0.03972556899208423,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06201899918173083,0.03493154350009872,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0585704164014895,0.034605322105341965,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 465
Rules: 229
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.052644430868630424,0.029443598612705374,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 465
Rules: 229
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.045577891541118166,0.025102925689344257,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 465
Rules: 229
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04265865774707452,0.022691813529444497,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 465
Rules: 229
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.041362204064361405,0.021232043374211817,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 465
Rules: 229
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.035310988610075894,0.019804838414787418,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 465
Rules: 229
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.031333209832075576,0.018776632429346102,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 465
Rules: 229
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03002702760561064,0.01785266865681961,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 465
Rules: 229
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028059848759650063,0.016337192033453234,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 465
Rules: 229
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027794664648993224,0.0131992009108316,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 465
Rules: 229
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02577885384473255,0.012796527687297977,4
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 465
Rules: 229
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-02 23:38:59 rCBA: rules 0
	 took: 1.46  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