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-24 21:37:17 rCBA: initialized
2019-03-24 21:37:17 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.34553754070746767,0.8286401921639844,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.29660558912807894,0.8136137425033386,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2626402598332894,0.6695314499768323,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.25997121268727863,0.6568059155117331,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2343541126161195,0.5632612948726878,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1888814621823372,0.5487411131117454,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18034870957519517,0.4660738469121844,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1676174623306246,0.42281829940103305,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13419725861864115,0.37165185611281254,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11375412503618014,0.33842352340225423,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 12
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10395273047740744,0.31402590629369453,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 12
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09882170126489866,0.25922923349354876,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09059274050866806,0.22500975274598842,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08174926519716708,0.21436056869535747,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06600459666684236,0.18017910553778824,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06200170329359599,0.158043771298479,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05981269718929449,0.1407097463790604,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.050721731824425985,0.1345950020072766,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04971315317582396,0.13435998310795022,3
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04056279320979714,0.12487909054130905,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03346354624626392,0.12050295919916579,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029239642076343553,0.108426560917344,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02629465541022061,0.10164838184576114,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022328362539692725,0.08984707170620848,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0207336764798804,0.08471446653105225,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01740201247329567,0.08204482834256123,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015248051238592701,0.08160305213325929,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014874760700649713,0.07518179633540925,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01220219731046727,0.073078519801,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010988814639402234,0.05996980284688037,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009983854850455314,0.056218029895930166,3
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 24, 2019 9:37:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 380
Rules: 162
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-03-24 21:37:18 rCBA: rules 0
	 took: 1.08  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