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-01 10:13:23 rCBA: initialized
2019-03-01 10:13:23 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.6645938025937351,0.8165901161987218,1
Mar 01, 2019 10:13:23 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:23 AM 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.5908063737969638,0.6560937266839689,1
Mar 01, 2019 10:13:23 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:23 AM 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.5208379872999168,0.6311685497245025,1
Mar 01, 2019 10:13:23 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:23 AM 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.4402941664273143,0.5788255902691242,1
Mar 01, 2019 10:13:23 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:23 AM 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.4031078203725556,0.475337858830279,1
Mar 01, 2019 10:13:23 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:23 AM 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.354282561697926,0.4274556111227314,1
Mar 01, 2019 10:13:23 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:23 AM 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.3201941765090661,0.40234121122485444,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.28759413813580925,0.32455864406882123,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2825578757365044,0.28636958423367265,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM 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.2676531780595462,0.23879583061440754,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM 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.24547993516815364,0.19665079098260396,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM 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.2390093762921848,0.18408824374263805,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM 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.2178327474516721,0.18354944574453186,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM 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.1926377147037086,0.16315329833597125,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM 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.17405232581262348,0.1335609438944754,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15755595923435128,0.11652782963864397,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13182364936996419,0.11209683725318043,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11715746304110557,0.10578360979526481,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09604734903210128,0.08780736633742187,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08632977758359901,0.08220922325136802,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0763467971946745,0.07241924199102137,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07198530057580937,0.059242144670614755,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07094602024702544,0.05225123111441912,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0651182348618641,0.04835268434374941,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06495455357623077,0.04771825716415538,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0578562579198562,0.047399523139831645,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05249229546468339,0.04525478392204639,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.049498175389916306,0.04099063619798829,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.040930277405316136,0.03551498522547557,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03990914718707514,0.028431843599298286,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.032301128386318906,0.026432606008235597,1
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 10:13:24 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-03-01 10:13:24 rCBA: rules 0
	 took: 0.7  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