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-19 22:18:02 rCBA: initialized
2019-04-19 22:18:02 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.07672182353875545,0.26506522508876096,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (20)
Frequent patterns: 20
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06754043179780163,0.26301376710305036,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (20)
Frequent patterns: 20
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06031475085106508,0.21103708693793718,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (20)
Frequent patterns: 20
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05035042969198393,0.19876962392295813,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04464583489988808,0.19566419539259,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03886693577572453,0.1921710299161765,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03613129626115716,0.16690608852651614,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.032939836044202975,0.14533883837144546,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027788271208201723,0.1400900517477175,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026177031888583488,0.1334691792809644,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023294714326274606,0.12085140143813838,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020993449682983906,0.09861619828978797,1
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018101439071764494,0.07959866497757015,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01609180257633758,0.0651185266465444,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01567382179540807,0.06464551948823746,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014941015386299454,0.05815885496614581,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01394648070132871,0.051850195473504876,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01336491716524717,0.043428804003539136,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012205140185351957,0.04066434729595073,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010764994372350591,0.03682368094559562,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010381077369363705,0.034375168994715655,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01011953426945987,0.027806762566587602,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010092974218778831,0.027478354456812994,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009369407457655559,0.025806075041306446,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009007100046776925,0.022274431442767098,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008534369074406687,0.019015328937404423,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0075622083813295625,0.0156833602000928,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0075493915143670515,0.012998986257569338,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006215232028494864,0.012839512041854746,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005659578369857265,0.012271283743542229,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0046378549240767685,0.011139964889921944,1
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 10:18:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (49)
Frequent patterns: 49
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-04-19 22:18:03 rCBA: rules 0
	 took: 0.72  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