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-04 07:27:08 rCBA: initialized
2019-04-04 07:27:08 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8765899209249605,0.8688992583016285,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.7259093962304954,0.697211046452769,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.6188972337355813,0.5857425179309916,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5099582954718476,0.5837395580771495,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.4243635246155532,0.5236052770451729,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3395969267266235,0.43401746898162896,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2840943401057992,0.3514132150919597,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (3)
Frequent patterns: 3
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22938498098585355,0.3194395440532573,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 5
Rules: 3
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.21746657319695692,0.2625765541746545,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 5
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18745879140124005,0.23700288589253876,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 5
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16822806404496007,0.2048133185689516,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1561176315334346,0.19471248752810122,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1351463056782135,0.1715573082329757,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11363871141649276,0.15338567547741155,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0933920100037937,0.14995281329076748,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08520312752871785,0.13339943944388674,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07140743842158102,0.12999379001913242,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06954059343895973,0.11616190928534949,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06225303389357312,0.09687954078783452,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06169972407962042,0.09532201160255974,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05057366300461688,0.09440252633302344,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.046204622571610045,0.09379926871767727,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04520633753901758,0.08416175609633185,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04120725387303907,0.07043010316755943,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04111473004956581,0.0629276185925968,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04092208012170809,0.05177031207772897,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0356386718462344,0.05063392875292633,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02900782748373466,0.04923017896911698,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028145415052684718,0.04362243159862617,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027709245393384714,0.038464442727072556,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02472540343648709,0.03696281474840831,3
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 04, 2019 7:27:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-04 07:27:08 rCBA: rules 0
	 took: 0.18  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