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-04-12 21:35:51 rCBA: initialized
2019-04-12 21:35:51 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8713461719032506,0.11513411294478737,4
Apr 12, 2019 9:35:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:51 PM 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.8394221361078005,0.09413612465178961,4
Apr 12, 2019 9:35:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:51 PM 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.7235266506516517,0.08756690211847726,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM 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.695565235227583,0.08005872338365694,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM 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.6161174888175209,0.07862926827021946,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM 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.5320529750628007,0.0775438418687007,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM 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.504320521011448,0.06713825749757651,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM 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.44296093981304624,0.06358451307918689,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM 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.3790497424507209,0.05740032299840992,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM 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.37628550308410275,0.05640481977321704,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM 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.3109889062018328,0.046515690544454515,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2521713844022999,0.03957014561932445,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22039532678839402,0.036155492589244345,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19017767789067888,0.03590730991890877,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18753673510614935,0.029268957788470475,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1675362940229685,0.023777815467231598,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14102912149740718,0.01945303625994053,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13163175052467657,0.01608148275554324,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12697842226106026,0.01514533960940766,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10283559728590903,0.015008265670389574,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08361618691412546,0.012196862842328952,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07962608029034772,0.010316774167632835,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07694114778329308,0.009024822939276518,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07075040341205474,0.008490527712003405,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06235513726862703,0.00793170408647127,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.061686112036800946,0.007661792098446238,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05363672119517566,0.006190773764723885,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 456
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04431565346913463,0.005101480202002521,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 456
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04283443557603321,0.004696211103995165,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 456
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03762483988994232,0.0041035767232465055,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 456
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.032287250136322526,0.003570224450209084,4
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 456
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-04-12 21:35:52 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