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)
2018-10-04 22:30:27 rCBA: initialized
2018-10-04 22:30:27 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.04866819041624426,0.5172088848185573,1
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04611143453905525,0.43708232581238327,1
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04031999712208765,0.35565779561717015,1
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03519238648933027,0.33867253071939285,1
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.031745907795572466,0.30356898449203956,1
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03129908778079995,0.2902282664410276,1
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.026342740082225723,0.24598516423629904,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.025335275592248553,0.2438815593497002,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.024052733926568457,0.2260476389422567,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.020653986990427888,0.21455952772302217,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.018261971259148448,0.21137314871350205,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015769168480745836,0.20410069231916056,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015196022237469317,0.18775639478583034,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013344481254282663,0.17334201747173095,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010796428220794232,0.17072574348575845,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0096526167026947,0.14195013906039486,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009467373354780123,0.1346192619550578,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009287551135338532,0.11984578547980992,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00885601244926738,0.11018931166323814,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0086988662833085,0.08873274963420764,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007037714709730346,0.07253321304331588,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0059913766062380655,0.06661401268336162,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005606988548447643,0.06299860827814942,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00556456161857702,0.05959149666539641,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004538293447592351,0.05661588802584867,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004418328566325234,0.05519978481513192,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0037521866725387003,0.05469733872664488,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003638350745390268,0.04698447987544169,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003386091193107994,0.03944061350529036,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002922752917068121,0.03447210089956921,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0026587567873617036,0.028251464061176255,1
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 04, 2018 10:30:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 43
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2018-10-04 22:30:28 rCBA: rules 0
	 took: 0.76  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