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-03-07 09:44:18 rCBA: initialized
2019-03-07 09:44:18 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.4149029511901551,0.8175430732255006,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM 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.3783641676698282,0.7221291142879064,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM 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.313979799701059,0.7060831640950508,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2552746264465568,0.7041659012075623,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2314911595390599,0.641012898790815,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18735516038947164,0.5330206507017997,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1583566613657994,0.47071001610361546,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1450757738421249,0.3963386460246803,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13695599514459875,0.35933596796515405,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11904618003388799,0.3379773658617506,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 4
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11135460825602819,0.3218091845462549,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 35
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1064593626612878,0.26462124462589964,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM 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.09658536325190663,0.21834053436782674,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM 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.07749999824876744,0.2036117756942208,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM 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.0758846865748637,0.19022408475986008,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM 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.06420535759232592,0.15791077792892264,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM 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.05163544425415573,0.1425818480997778,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04977847510844542,0.12792325105726585,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0415515344915292,0.10436526909674743,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03999537323617919,0.09354129136610571,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03836539768780966,0.09338317065773664,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.037930003643792454,0.09169018068989594,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03777713948593621,0.09025226439097539,3
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03684681574070095,0.07544068441877765,3
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029843734439685705,0.07134127212257341,3
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02969550930516288,0.05823175863193134,3
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02705528487162853,0.053946205857547495,3
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023319963410420783,0.05297798857212724,3
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020651329633422828,0.050611163273803605,3
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018576524896888505,0.05015801136579476,3
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01698873970205881,0.04481472888867903,3
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 07, 2019 9:44:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-07 09:44:19 rCBA: rules 0
	 took: 1.61  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