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-14 04:19:43 rCBA: initialized
2019-04-14 04:19:43 rCBA: data 20x5
	 took: 0.02  s
Evaluate: 0.3905625273614731,0.24756607008786247,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 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.38678332252196584,0.2087656866782451,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 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.3639864683343183,0.1953316275529953,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 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.3021667936230574,0.17201226801217961,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.24647690282238152,0.15214012084369793,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 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.21857745827421454,0.136118097434048,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18125288301325204,0.11032814630012458,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14807769195434825,0.09463123613040146,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 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.1339272475130814,0.08424331681517544,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 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.12603632088602137,0.06798877353929492,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 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.125170822135919,0.05997761377616053,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 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.12337458817746917,0.04950648078894803,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 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.10277943498135968,0.048862231552729014,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08625579396776191,0.0411971260572989,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07433820034145605,0.03923910063346069,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07153648600590679,0.032876537261644634,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.059106431036122245,0.031399325776465314,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05513872519269003,0.0275055331958819,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0486730417372456,0.02468527184628416,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04537993171792518,0.02071315142305428,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03734429895508993,0.01868595668649489,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03662274477670102,0.015122019881943376,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03215376241131403,0.014394041568347568,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026195992928418704,0.013670269111281058,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025061227436731365,0.011360311025214486,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02181514605264167,0.010329707539521747,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02081625717903471,0.009863891878510214,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018278930564295248,0.008925008720335732,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01703446483611004,0.008386244996176547,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015450040926152122,0.007467225099840562,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014113921682894822,0.006432667985079478,3
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 14, 2019 4:19:43 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 373
Rules: 157
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-14 04:19:43 rCBA: rules 0
	 took: 0.15  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