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-06 23:38:06 rCBA: initialized
2019-03-06 23:38:06 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.1427436418958814,0.22575576519259288,3
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:06 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.13873471420048056,0.2061292890589447,3
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:06 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.1378255632350296,0.17433698397916517,3
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:06 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.11945853770584486,0.16864250685972162,3
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:06 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.09609036375296565,0.16349353955398255,3
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09542805938547258,0.16296367367588044,3
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08742007211825578,0.13977627494959818,3
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07925515833391628,0.13773527912489036,3
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0690802751167105,0.11162186914975662,3
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06194058882823033,0.10002940479881188,3
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05601482037269764,0.08650696105094774,3
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04926689539075341,0.0718393099849464,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.039459193013848655,0.05826881545180259,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0318046220000658,0.056287322773776585,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027077849108717772,0.055401726404926285,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026191218534178703,0.045510075256400044,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023950725850729895,0.043626162391481434,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02079620934277917,0.03748258723976526,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01723176453374228,0.032732406650935394,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015588703672336997,0.027168416789688343,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015280280885367186,0.025849462731559674,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014146305117001863,0.025561194934783465,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011384329966699747,0.02148659263527142,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010222868446989565,0.020733411591266335,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009618586808539397,0.018606423002174636,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008557313831232252,0.015971114409491973,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007563277885197291,0.013879570118912655,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006761294241085303,0.011820117921662026,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006026705026356126,0.011588125367038777,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005880480112442859,0.010143704006377204,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005787380129076646,0.00839614397087748,3
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 06, 2019 11:38:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 372
Rules: 158
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
2019-03-06 23:38:08 rCBA: rules 0
	 took: 1.47  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