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-09 23:41:31 rCBA: initialized
2019-04-09 23:41:31 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.9158985514520499,0.3988936330207198,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 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.7509952031540841,0.38736549598076003,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 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.6967396063170551,0.3588351329071513,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 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.5980349547018743,0.3078585080394486,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 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.4793676421292022,0.2825762163073134,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 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.4410546819143614,0.24872716199033307,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 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.41434497588526975,0.2093137846015579,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 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.40179972787364004,0.20060756873223784,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 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.35778422662417936,0.19283004836525192,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 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.2935969990554614,0.16628051364535104,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.24963580763774149,0.13778163494278986,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22570952053871476,0.12445923643755337,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22554932898989682,0.11640680924658386,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1927321363774266,0.10223464415538465,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19255127403977412,0.09550962471761815,2
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16310885351674578,0.08479409317461359,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 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.15934324512374526,0.0822147083650851,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 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.15068249498278913,0.06829964730683194,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 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.1257764478040487,0.058042943523679946,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 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.1078629110210834,0.04855170242855288,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10293872154535799,0.04727655372570334,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0901562482108445,0.03968331531643474,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08482241296829393,0.03480772841378423,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08429194333573758,0.03207839217960317,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07951208117826952,0.025862055156109877,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0651779611077725,0.02469121691897036,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06026962409115914,0.02081529206572338,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05963693043994119,0.017834763763813582,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.048502258809811336,0.014444380036145154,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 210
Rules: 60
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04252464371254222,0.012229739079118961,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 210
Rules: 60
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.040895535471870824,0.010537033487767593,2
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:41:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 210
Rules: 60
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-04-09 23:41:32 rCBA: rules 0
	 took: 0.84  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