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-10 21:33:16 rCBA: initialized
2019-03-10 21:33:16 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.22014000379538434,0.18879812501266946,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 5
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.21728691479957046,0.16065891277942443,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 5
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18182046474981353,0.1516392853219347,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 5
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1698536274334434,0.12276201637954656,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14921165390567023,0.10669973437194914,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1294942265195702,0.10043877612776822,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10730698137350828,0.09465441007107654,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10233778818713607,0.08351465511756956,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09484710931267348,0.08290820053358844,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08971062598125362,0.0727377693974966,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08081988135004786,0.06935961008204332,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07148391029718074,0.06893466591887501,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06865605640839034,0.06291082169781993,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06830528585257267,0.06267667275307907,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 13
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.057602403336857205,0.06040555847588264,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05294442620367621,0.058097704247092444,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.050849981517060355,0.049732107078312895,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0467882808431805,0.041938578802369494,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04125886451927693,0.03665014997858287,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.034567345953504386,0.03618629179256341,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.032415052676019435,0.029060919127113772,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030753267986326403,0.0262085090420577,2
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02987135138490504,0.021904514050757357,2
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026358215264926776,0.020455456771524123,2
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022971317236385205,0.01744969768146103,2
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022559764169098332,0.01685980879570212,2
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01894774965768671,0.014915113517149086,2
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018237522334796943,0.014478005823378956,2
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014605121567487316,0.012903008854501755,2
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01187417794998558,0.011170810898749748,2
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011289247210657738,0.010504373190282476,2
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 10, 2019 9:33:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 205
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-10 21:33:17 rCBA: rules 0
	 took: 0.9  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