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

> ### 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-17 23:22:43 rCBA: initialized
2019-03-17 23:22:43 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.1834176782134369,0.4238893672073517,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15859140421625317,0.35069712195520253,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 4
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1508311890096147,0.3477224425539681,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 4
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12687844569242884,0.30724410344507286,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 4
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1222995395892989,0.28864356044854145,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 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.10406899932494787,0.2763874321264962,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09190011650230753,0.2492814470560801,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0754597417126296,0.21309670435784347,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.061995317964084556,0.20189316389225812,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.055405386592667485,0.17592848228899316,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05114808409285631,0.16061532817283072,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.047038820896107364,0.14860944458563777,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.039702773221258446,0.13601205275654488,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03338727308111862,0.12812602651700084,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026915562747879793,0.12312938264111331,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.024659796135815478,0.10894050392634842,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02355719156750485,0.1012112097942408,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021550614865011745,0.08692425118941147,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021099237979435664,0.07072360003481143,4
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019601880307652957,0.06842724097368938,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01604531719799127,0.05767256710946421,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015009497284075576,0.048798658978317054,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012631995303128873,0.04466820380368472,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011054299378430254,0.038420949403394695,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009247150298460755,0.03592340813575661,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007535532949431108,0.02936496696781487,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006274625091146214,0.025396930144338557,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005669338670172568,0.023235205358940386,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004857534564501099,0.020258500782542134,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004573632018781831,0.01856829949901788,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004090363086655222,0.01832263396999262,4
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 17, 2019 11:22:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-17 23:22:44 rCBA: rules 0
	 took: 1.79  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