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-28 23:04:11 rCBA: initialized
2019-03-28 23:04:11 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.06486894840485125,0.6554195838145285,1
Mar 28, 2019 11:04:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05871263787216084,0.6217379705283488,1
Mar 28, 2019 11:04:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.047165878306237384,0.5023093824026879,1
Mar 28, 2019 11:04:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04518983397294443,0.4504938293587487,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04410812244108086,0.4288546044012649,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.038176019583702495,0.3815734340003817,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03621492107439718,0.3620004822062017,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0324587820662965,0.29496079806539444,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.029581814935088817,0.23620426834667765,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.025008663216625687,0.19955722064153253,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02298333640316886,0.1841834054985962,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01960798030445375,0.15312384655051545,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016530475076398838,0.1424719317909743,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015287565153686998,0.12545284636559892,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013979434825621572,0.10219645770864416,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.012974745982273586,0.08618562150361823,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011929547114877783,0.07582159759300501,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010277425574562344,0.06778141621656578,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00969510417592697,0.0608950535627718,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008578279083673474,0.057592737497810305,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008322224425021825,0.04945179445072753,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008180462014426385,0.047419997969326805,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006884842410844988,0.03897018542913032,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006839591186842872,0.03239581099841003,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005842852202369687,0.03199384737480913,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005081493602209965,0.029832062552892624,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004221705236541174,0.02600917236616283,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003699914467880498,0.021825879042578065,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0031098788108980266,0.020571558349980788,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002846372702200686,0.017752756599729042,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0024571335915468343,0.01651778116392935,1
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 11:04:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2019-03-28 23:04:12 rCBA: rules 0
	 took: 0.96  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