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-04 21:31:56 rCBA: initialized
2019-03-04 21:31:56 rCBA: data 20x5
	 took: 0.02  s
Evaluate: 0.6825766735705582,0.38444198209700475,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.6262304822284086,0.3297551453407533,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.6258037418169898,0.2732602692241982,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.5288445443575823,0.23279622431135155,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.4781881512928391,0.22221899267327236,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.42099378720812225,0.18289516543622478,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.3762190195551817,0.15785875810752947,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.3520271780066798,0.13213990096794084,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.28514033047087056,0.10995896880101153,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.23680059686649713,0.09789806155695122,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.21095269241800535,0.09727575272959087,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.18614439423213958,0.0873687378485603,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.17146525775366542,0.0817727162933723,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.15420115890542796,0.07668669495203992,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.1496970767076844,0.06824760129477418,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.12733836401219822,0.06416410996366685,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 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.11547546140059048,0.06175164235951104,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11125251359403862,0.056780232444238056,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10586667212637546,0.0461650415298977,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09908560232925254,0.03940885185272345,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08139964771541851,0.03694705141840576,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08065415887235014,0.032648061736325756,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06666107231060582,0.02984389928971403,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.053350361220929496,0.029481733582214176,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 206
Rules: 58
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.049888309150262954,0.029479157577836878,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 206
Rules: 58
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04526538992980809,0.02667092419328664,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 206
Rules: 58
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03704197945227464,0.02456935799081687,2
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 206
Rules: 58
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03480443163854651,0.020315169884631657,2
Mar 04, 2019 9:31:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 206
Rules: 58
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03040070415409319,0.02015521179680285,2
Mar 04, 2019 9:31:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 206
Rules: 58
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026370917618009124,0.0175406669574218,2
Mar 04, 2019 9:31:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 206
Rules: 58
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02634037540411792,0.01434376008994615,2
Mar 04, 2019 9:31:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 9:31:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 206
Rules: 58
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-04 21:31:57 rCBA: rules 0
	 took: 0.87  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