Running examples in 'rCBA-Ex.R' failed
The error most likely occurred in:

> ### 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-24 12:26:12 rCBA: initialized
2019-03-24 12:26:12 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.9028460833669442,0.3778843422164939,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.74050553112214,0.34946980319489135,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.7248870346575479,0.2937570373697171,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.6859124053349064,0.25718218111568864,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.6608175795926265,0.22425288513301317,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5451629135161462,0.2122652991331869,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5033385236097601,0.17152336679622077,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.4916586536850248,0.15427387768234607,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.4028923739176565,0.15138204813385428,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.36619337116334816,0.1288390690804448,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.35023648274128516,0.121984485517173,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3088495417860692,0.11163696917839472,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3009669148714474,0.09954175341502436,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2991131637420648,0.0886074496808791,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2986232892436695,0.07555444072425985,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2845333016500924,0.07329294937050743,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2464865778655259,0.06029239171254596,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.21336094263954533,0.052640991671953255,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18187273775009605,0.047082359098115006,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15325390041841402,0.045105695454734904,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1519742685997213,0.041621439348687,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15031160461637155,0.034555088073063504,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12280252424079242,0.03339297174840552,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1023610111660953,0.027601426903134788,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08476570431745156,0.022496635910872965,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07053956994220646,0.018274178165480923,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06516237427736588,0.014675180107081704,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05714631245927463,0.01355485052011641,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.054364913939009905,0.011701846869037118,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05097026655794768,0.009896681653333331,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.043492141702880405,0.009764846585913246,3
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 24, 2019 12:26:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-24 12:26:12 rCBA: rules 0
	 took: 0.22  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