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-11-17 20:59:02 rCBA: initialized
2018-11-17 20:59:02 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.24321326011329114,0.26589869218145934,4
Nov 17, 2018 8:59:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.20053178019365345,0.226434657829698,4
Nov 17, 2018 8:59:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 7
Rules: 5
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.16270150472427303,0.20111112869826486,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 10
Rules: 5
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.14345783612750532,0.16790205546673242,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 10
Rules: 5
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.13844772406849895,0.15076169027837255,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 10
Rules: 5
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.11741273253986816,0.13212795503792749,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09844246293702442,0.12032927033868283,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08182261554255088,0.10826756070730115,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06835124818436454,0.09593099748591068,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06577888258363096,0.07937635279249582,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0602749743093483,0.0787233109512984,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05182920969156108,0.07631759046780329,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04732470317090935,0.07149003124024506,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04528603224880875,0.07139925018409357,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0405849518559046,0.061379672984693795,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03847342777506125,0.050537664150365855,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03780778768811053,0.041057139815881785,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03384536726750029,0.03513148383522399,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.027947197118494017,0.03011863669661839,4
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:03 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.022541077056262078,0.030112786783556347,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02170123678585715,0.027397424304324257,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.020578347616463752,0.02552234286905167,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016793239330948746,0.022990407752029585,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016561845092484564,0.021342483473875847,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013864500005756663,0.01723061646400938,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011993125716183361,0.01416091069079694,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010372503857957464,0.011425424970315094,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009617046759061509,0.011345168688852325,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007972842469165487,0.009591018532540914,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007588132597257171,0.008678877013978582,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006609540339657017,0.007641764603210808,4
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 17, 2018 8:59:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
2018-11-17 20:59:04 rCBA: rules 0
	 took: 1.91  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