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-14 03:34:04 rCBA: initialized
2019-03-14 03:34:04 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.636470403778636,0.8055793486663905,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 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.5685874371924351,0.6939980974325889,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 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.47127439986866126,0.6783425662443994,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 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.4596304084315422,0.5568544503562397,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 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.38087909173036233,0.5029012996823058,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 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.32725073731058313,0.42883792372873664,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2697436382659825,0.3644559062259688,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22286953625608777,0.32559468081105786,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22212254685208682,0.28484825482216375,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 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.20084117434656748,0.2693476697716066,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 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.17652616149707212,0.2520982744018781,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 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.15072127131692617,0.20778747228649266,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13981247209238404,0.17260142182457194,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11769867321567994,0.1456649526733481,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10315704000617888,0.12442737994929358,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08781550195334724,0.1102343811315395,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08487444589078956,0.10873426349525389,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07042496155068909,0.1035239719687122,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.059819694785840316,0.09991680629624161,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 33
Rules: 18
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.052797021051611014,0.09899105189668697,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04856851726756116,0.08509823182206433,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.042783358672839604,0.07336235365969838,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.036374617679045686,0.06727526756094517,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03174922323389331,0.05382123281676005,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030803252373848698,0.0497396333458342,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026574929175499914,0.040923778230263066,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023024307734575842,0.036814010525141765,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019628357176400484,0.03117343055233372,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018773449128623793,0.02525835970604825,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.017445589127005653,0.02439667429657026,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014613135080181703,0.024265095992774252,3
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 14, 2019 3:34:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 373
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-14 03:34:04 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