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-12 21:31:49 rCBA: initialized
2019-03-12 21:31:49 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.7547070246620448,0.4667373371292969,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 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.6058244294249647,0.39933293856770724,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 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.528291369987316,0.3652532477447105,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 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.4332092719706725,0.34360980392669815,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 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.36774592229297765,0.30061753245332173,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 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.33154897617086104,0.2949280258054326,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 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.28739804825003423,0.25148099264319324,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.28261934699614694,0.22698475466132775,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.27650818151750395,0.1870057132660364,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.23850438240620372,0.15837336126156668,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20165066458485803,0.1368248657889671,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 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.19667156803869223,0.11986046160832053,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 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.18281430579041363,0.10023811841553848,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 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.15764442177372645,0.08360907853065312,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13630376070036057,0.07203533633648765,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1256275735131098,0.06675069160262931,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1009242718037254,0.058868048423302774,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09444985358720809,0.047332365826598215,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08995069282501379,0.03905931482788352,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0789587954852223,0.03686130120872781,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07682700151338276,0.034934541538374206,4
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06533571939226937,0.03189628211500569,4
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05312707378055612,0.02829137343307162,4
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 229
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.047517344909700124,0.024480561803916466,4
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 229
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04072255005561601,0.02430193198509133,4
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 229
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.033040267989485776,0.02362942915965131,4
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 229
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02751190963436291,0.01937429560664479,4
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 229
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02454770109364479,0.016052297302459172,4
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 229
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0221087624130381,0.01390411359858867,4
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 229
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0202486564049759,0.013568777831311411,4
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 229
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01947434376485673,0.01240203173713827,4
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 12, 2019 9:31:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 229
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-03-12 21:31:50 rCBA: rules 0
	 took: 1.57  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