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-08 11:44:11 rCBA: initialized
2019-04-08 11:44:11 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8850709291887467,0.4583837522589611,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.8684285191024129,0.4195648095976828,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.7864166708357636,0.36926884026471146,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.7762875533579556,0.34164660392125196,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.7710259530926844,0.27652277829751654,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.6196666562328025,0.25464296937160147,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.5101135649070282,0.2317689684167026,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.45962029447439007,0.2307868944930629,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.4263230836992449,0.18627879088257546,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.39365390176233883,0.16292147573765095,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.3776569539430976,0.15883970904992262,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.3271502425607413,0.13058314700794948,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.278343738369852,0.12145243617548501,2
Apr 08, 2019 11:44:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:11 AM 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.26724939915568297,0.11578204974103061,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM 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.2340773132758971,0.11145338442933819,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM 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.18858788003235233,0.10911404985418786,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM 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.17536580234924193,0.09337341571605622,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15635805245839132,0.08057770163239507,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13329377582641724,0.07559893571038104,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12247788090381927,0.06564033376904016,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11523725337620663,0.06354624090424407,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10976477728448364,0.05252227194819469,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10176937626491223,0.050201985546453096,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09455970969736323,0.04899787735531619,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07814900849293156,0.04411012230370823,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06699670144680778,0.0434225568827145,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05372350457149871,0.04054159340312888,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 203
Rules: 56
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05192188438913291,0.04038946242370074,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 203
Rules: 56
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04869478699025068,0.03836365281646714,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 203
Rules: 56
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0430538441692673,0.03557296313743294,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 203
Rules: 56
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04154184506771032,0.029313629910263247,2
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 11:44:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 203
Rules: 56
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-08 11:44:12 rCBA: rules 0
	 took: 0.91  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