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-25 21:04:21 rCBA: initialized
2018-12-25 21:04:21 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.24447192342557678,0.9905699507673137,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.23600697151971517,0.8777696171414642,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.22774957244494573,0.8378362199666747,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.18328891593365196,0.8228895452031992,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (10)
Frequent patterns: 10
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.15898668888208936,0.7680330129606566,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (10)
Frequent patterns: 10
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.12761500289597996,0.7093473762582564,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (10)
Frequent patterns: 10
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.11156274445433184,0.5895282114828008,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.10873773078881728,0.5872561717090521,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.10597391623092968,0.5833445189687763,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.0919909967236377,0.5001396722319841,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.0794970053998016,0.4203601038141684,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.07069428179508136,0.4159341114315856,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.06434491147738707,0.3936895804860396,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.06193822120860628,0.32346813783342615,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.05098272363052377,0.27572327800878405,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.04884695457560712,0.24471621160605,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.04021194026990783,0.22222368774058532,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.03981402075187687,0.19271835032390788,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.03602094572964496,0.19244706910596832,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.032633005708891605,0.16382676385074285,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.028512061409413158,0.14361184633296564,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.02453317248935706,0.1236851279156516,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.02363262366954233,0.12345188266331239,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.01896489514952634,0.11870438983679163,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.015448630689828938,0.0993645048226897,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.015264609698313402,0.08013581041736256,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.013018465319129514,0.0674390654477385,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.011434001365233723,0.066091242757581,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.01126103696726328,0.05855515365733643,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.011038420091316626,0.047223736130332976,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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.009906825351146573,0.04121400547093251,1
Dec 25, 2018 9:04:21 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 9:04:21 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
2018-12-25 21:04:21 rCBA: rules 0
	 took: 0.83  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