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-03 21:31:28 rCBA: initialized
2019-03-03 21:31:28 rCBA: data 20x5
	 took: 0.02  s
Evaluate: 0.6270301952090243,0.14092837232762057,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.6089714715950258,0.12585801962005005,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.5446442134496498,0.12204282817199341,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.5161771919851116,0.10115053317231962,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.42330435786891846,0.09631038560877539,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.360786337009463,0.0952872866545266,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.32442279322415873,0.09024595176523367,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.3033729726921681,0.0794082958984001,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.25685491302601465,0.07573651137995117,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.21570281398749713,0.07023242639650554,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.19276006790937067,0.05907906178928934,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.17514397305699125,0.04868098886208852,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.16810418071660288,0.04412436679764333,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.15556657390573533,0.043758080225197685,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.14130811389478357,0.03756443253417106,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 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.11434612777269522,0.033290593972489256,3
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11356313299599617,0.03326062555148611,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09972342668025379,0.03126046077317405,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09644889543406299,0.02579413273967604,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09319491137889395,0.021199574425806778,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08727610480629996,0.017792247694706054,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07802770799500017,0.017551528740312034,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07156430205342493,0.014449105605648575,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06935617508479108,0.014061547141005139,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06794286471147935,0.011259656997909246,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06288593828354246,0.009304383125858899,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.053489375969625386,0.009283071685601763,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.053291748322059476,0.008433496157711586,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04704750490914138,0.00753422328415821,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04043036391963572,0.006753485378044179,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03236627655403963,0.00640289558461188,3
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 9:31:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-03-03 21:31:29 rCBA: rules 0
	 took: 0.85  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