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)
2018-12-30 23:01:43 rCBA: initialized
2018-12-30 23:01:43 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.05025509314296661,0.161148880056594,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04324828946084798,0.1603735798157539,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04011592888722786,0.139126396693007,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03841411430388217,0.11558585633717056,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03223171000725516,0.11398586741020396,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02937323859538856,0.11147227215593722,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.025392401012545182,0.11090304584549804,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.022870577905402655,0.09781008059280154,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0216819459987998,0.08660389412791279,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02029165426412405,0.0736411729605636,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.017617953089954577,0.06585992466117335,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014926993722835348,0.05539755535851335,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013005406521852036,0.05323614562183289,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01259530866879173,0.04602861840404117,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011702104348259914,0.03977084528543644,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009413413033819729,0.034016399916125706,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008306138623515357,0.0310840855032041,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007445125797997503,0.0282098797797961,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006999628793420716,0.023369410599106816,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005937904057630593,0.020634124014583453,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0056481936152177,0.019699398194285896,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0048790415157341175,0.019651464575096145,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0045698271213992486,0.017827247340965323,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004366783225093605,0.015582445777269962,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004274586701612991,0.01549026091797632,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0035838063739729547,0.014037111943610315,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003223021211683566,0.012283434252365357,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0031987689924548625,0.010106890499933002,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0026366943210238488,0.009623540166479485,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0023539565108414724,0.008306761429328749,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0022116930332017285,0.006933333453168415,1
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 30, 2018 11:01:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2018-12-30 23:01:44 rCBA: rules 0
	 took: 0.99  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