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-26 01:07:20 rCBA: initialized
2019-03-26 01:07:20 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.53169982747334,0.36106648062725955,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM 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.4882784097586801,0.324039764990711,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM 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.3993394557462677,0.32078719334497124,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM 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.35478397607701134,0.272256152937448,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM 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.3243635307424693,0.24466335591461139,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM 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.3000844024809319,0.20477441158421725,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM 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.2820175691520115,0.17850937336967682,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.24284464541057293,0.15015398784809872,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.24017100706805286,0.13136027533186817,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1976091132131515,0.12052930739660395,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1749283323751528,0.09831518607677486,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM 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.1537628226766869,0.08827428636844525,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM 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.12906359414040297,0.0712248300709758,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM 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.12514168672480888,0.06926616701934185,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM 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.11601374190824269,0.060843191688408065,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11515242544782815,0.052469870408132765,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10656776961644626,0.04764947375813374,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09974122124843159,0.04317974010640629,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09472473032693086,0.037794721787303184,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09296480879416166,0.03376931701205282,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08926260042719754,0.029152547633267648,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08725944335543352,0.025061950689683303,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08491141196012568,0.02351406356168557,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0834698311275161,0.02176414778370467,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07518718803639289,0.019851147228877573,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06874369908826539,0.016117076804185018,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0668044375570699,0.01390546772128645,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05993511004851602,0.012351615070343627,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05017606123617417,0.011465170104270507,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04604038686182283,0.01062392088269227,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04399701587619555,0.009749783480401222,2
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 26, 2019 1:07:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-03-26 01:07:20 rCBA: rules 0
	 took: 0.21  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