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-05 05:49:35 rCBA: initialized
2019-03-05 05:49:35 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.61333160567183,0.03414538643133325,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.5704599759145805,0.030686404529195726,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.5626855907849729,0.028535647090963127,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.4894468329363186,0.024935674692586344,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.47159412876427165,0.020036327958861674,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.4711714136420234,0.016434815140659746,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.46881680383545205,0.016182867605662114,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.3911508023100117,0.01328803325552511,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.3282888627605977,0.012935342193540054,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.31113057261532495,0.012318924192548,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.27344645059106826,0.011345429087664392,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM 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.2340052877578587,0.011070965121928025,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.22045099961986248,0.010113180852456573,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.18711428537779246,0.008834586065167013,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 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.17064480734815146,0.008066202534312963,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM 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.16529135032960057,0.007438672208160053,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM 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.13745401795217896,0.006091103254783324,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM 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.11724586010716827,0.005221442049525184,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (19)
Frequent patterns: 37
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10158519168868664,0.00485981081862139,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (19)
Frequent patterns: 37
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08212002741149745,0.004422574463141851,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (19)
Frequent patterns: 37
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0796610036330663,0.0043924267699967925,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (19)
Frequent patterns: 37
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06757992196643456,0.00401045991090402,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (19)
Frequent patterns: 37
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05491377243811081,0.003922894288953888,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05153623402608734,0.0033878333556348426,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.045293959279287865,0.002795632339097844,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.042023155957236866,0.002552848306999936,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03448517162630953,0.0022932953373470304,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02802908651711147,0.0020760854243264165,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026765906528955108,0.0019577784491363595,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023596585735725407,0.0018109045788710335,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019884132597644915,0.0015025622873265961,4
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 05, 2019 5:49:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-05 05:49:36 rCBA: rules 0
	 took: 0.48  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