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-03-14 21:33:40 rCBA: initialized
2019-03-14 21:33:40 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8203776073150544,0.010142203160085628,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 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.74145863466897,0.008197989653535053,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 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.7273021684156519,0.006931918797171692,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 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.669666888119614,0.005549721393237585,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 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.6042807095296227,0.0054205174066977125,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 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.5547002433597628,0.005093733334368317,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 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.4844497654206261,0.004435597710651539,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 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.43173453619852614,0.0037192366089405303,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 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.36295843243388903,0.0031544515839462424,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 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.3278510755316652,0.0029340630460466155,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 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.32044938508242843,0.0025199997451241223,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 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.2873757187860821,0.002473947713542023,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM 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.268621013720809,0.0022915589581368368,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM 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.24065352766737985,0.0021896657844089284,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM 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.22509834132782341,0.0019256424645356161,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM 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.20893882112137693,0.0017324668914247962,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM 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.19895797270973747,0.0016815386435794074,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM 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.18039417378998432,0.0014678979957680129,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM 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.14718988709984715,0.0011913017270766158,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12525754838063513,0.0010870432954106627,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10333487023601688,9.59251923287972E-4,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10330724346790822,9.002694388098269E-4,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09243970136158945,7.814490847578086E-4,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08940560393609856,6.695376578091641E-4,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07820412665278982,5.747898905729202E-4,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07286692629870054,5.560307300226846E-4,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07186489233181087,4.531778775084886E-4,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06531826409410205,4.157095295666492E-4,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06481137403063193,3.5145084839954566E-4,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.055546205982267276,2.9717306315104003E-4,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 204
Rules: 58
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04958138585993915,2.855893087415946E-4,2
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 14, 2019 9:33:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 204
Rules: 58
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-03-14 21:33:40 rCBA: rules 0
	 took: 0.73  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