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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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-01-30 21:10:18 rCBA: initialized
2019-01-30 21:10:18 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.03563052251949539,0.2611681763739082,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.030856334812307564,0.21392652602244372,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.028955125593308133,0.20409055383599609,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.028544184597579875,0.16473346239107062,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.024699529456323158,0.16427160781705377,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02215968357704541,0.13193309108729218,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.018308000052442767,0.12266897715645476,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.017754042761382958,0.11748016991598152,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014669084166566513,0.10009789438573898,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01424321586111914,0.09924244603301019,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013348003829303987,0.08853255400145707,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010961752419190276,0.08162192416555882,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009139491440180425,0.06936272277719309,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008000168927816331,0.06670588873091189,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007218333707636053,0.06402173888759942,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0070417638153339865,0.0624783363857602,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006275668137197193,0.05434321766119548,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005452645445025909,0.049590254903030664,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0051259279483301095,0.04449437437364538,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004157040200136651,0.04332709157499614,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0035970632637296472,0.03556677666637509,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003197818574027165,0.03498829780069878,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002586418168897099,0.03129090781383766,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0025528417193292473,0.02587165625506639,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0024567954221878492,0.021347810169901105,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002435783786195469,0.020901262344676246,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0021157370752862624,0.01995122559885438,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002088477333627841,0.01669887124278652,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0020253637300628327,0.016583626803191285,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0016815944676970885,0.015898037695386703,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.001389741680346893,0.013051837444637289,1
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 30, 2019 9:10:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2019-01-30 21:10:19 rCBA: rules 0
	 took: 0.83  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