Running examples in 'rCBA-Ex.R' failed
The error most likely occurred in:

> ### 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-04-02 06:53:54 rCBA: initialized
2019-04-02 06:53:54 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.2685086146863468,0.3134380358981198,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22597644205595263,0.2781250039462618,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19334379435335022,0.2339261813655809,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15858609336218485,0.21402414228500397,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15704675798057494,0.1971875517491161,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1382907455649758,0.16416898844310343,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1233517191189355,0.1636094009954965,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1139397700720812,0.13979346879141194,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1062069019463088,0.11792700004576993,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09800692944486687,0.10409864863138825,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08145634279409539,0.0988055677751696,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07236680064676883,0.09814733566932621,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06404710022667384,0.08819259653273932,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.062016691031792776,0.07498822412062144,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05311321815719201,0.060151326899799094,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05068459369511483,0.050159283381519065,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0474519651608788,0.045882433154246074,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04101360229604403,0.041100108704433584,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.035150710239731625,0.03428596062676186,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030568106751624347,0.028749599289819776,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025035706965803324,0.024506308890929824,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021143689595941144,0.021044453206969297,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020598414713767325,0.020547339240670287,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01712467474257391,0.02032210229380649,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013858784860884502,0.01702219746628651,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012926675845808262,0.01579983594036634,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011164116368369484,0.015225391921502667,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010840188798579477,0.01306035726802195,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008953225794584662,0.011738915083294327,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007937578265722958,0.009509606255660299,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007639305331195248,0.007897141325142142,2
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 02, 2019 6:53:54 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 207
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-04-02 06:53:54 rCBA: rules 0
	 took: 0.17  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