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-27 23:32:31 rCBA: initialized
2019-03-27 23:32:31 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.49835434130634004,0.055784837631516315,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.48548121285555423,0.04518871843050399,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.4427622011802277,0.03635091068347302,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.3582462707534744,0.03395319851946119,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.3355740513640197,0.02828379343471801,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.320747365114463,0.024099914835640505,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.31705489047396873,0.022112054655833026,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.2928930446890246,0.02026604145749093,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.2762897523483346,0.016821081176572564,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.2350243154863494,0.014754856509703786,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.19835583148979308,0.013766111135676473,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.19483217141086207,0.011271152113982821,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.16428468778949495,0.009358795907898947,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.14209475476838299,0.008457858603827414,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.13992504588925336,0.008154651460999647,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.1342097435052886,0.007833467483959583,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.11455427268998924,0.006696342777050342,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.10929477307805892,0.006440563418916431,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.10659889622458504,0.005721545872988019,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.0895446156772316,0.005115003082339102,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.08951625330178047,0.004692720002292792,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.08753938128434918,0.003943256389970025,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.08431160093532394,0.0033999313626412097,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.08389789041517119,0.002942015646245476,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.07510788926178225,0.002857176077008266,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.06993748152330558,0.0026360328450218042,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.06326905489885336,0.0022000138184711617,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.05444198710965433,0.001954756476946458,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.04692951745502857,0.0016235306255751435,2
Mar 27, 2019 11:32:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:31 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.03872396775864653,0.0015707912298846313,2
Mar 27, 2019 11:32:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:32 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.03417198884329021,0.0012992226171844351,2
Mar 27, 2019 11:32:32 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 11:32:32 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-27 23:32:32 rCBA: rules 0
	 took: 0.66  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