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)
2018-08-17 03:28:14 rCBA: initialized
2018-08-17 03:28:14 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.15967075959781452,0.9733120655766703,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (9)
Frequent patterns: 9
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.13241040528513925,0.9545184615971409,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (9)
Frequent patterns: 9
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.12386605723262722,0.860305266781001,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (12)
Frequent patterns: 12
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.1159572134726925,0.7067499900737717,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (12)
Frequent patterns: 12
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09349312778772946,0.5695108160281535,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (12)
Frequent patterns: 12
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0766905126713947,0.5672802174347596,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (12)
Frequent patterns: 12
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07124507296473793,0.5488893797817299,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (12)
Frequent patterns: 12
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06176254670739384,0.5096741429968752,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05436409121456281,0.5066424416983928,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05230546753839692,0.40633668630215325,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.043039615867365696,0.3886806445680279,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03493697986563985,0.3148394984062012,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03382975282445805,0.2532147278069111,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.030156964971573767,0.2386554731931301,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.026678700463788847,0.20556533344107067,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.024685683855298034,0.18680276893618866,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.022190945856444766,0.17613116529145012,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.021900078417960794,0.15397314698436076,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02091086994203958,0.12944156003270046,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.020841064649385895,0.1157447807072231,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.020465364214448008,0.1129900641297497,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01943297333805659,0.0975642422390161,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.017663465533972945,0.08733009442229367,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014987311265105696,0.0759767395847248,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01362751963961122,0.07500202734884094,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011475242529407799,0.06296516538836816,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010422944004253653,0.06013652023405136,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009057298724651592,0.053473524137941826,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009043048462668237,0.04956241531231727,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009017186065092685,0.043107845662408106,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007315257397091124,0.03920701611240296,1
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 17, 2018 3:28:14 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 50
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2018-08-17 03:28:14 rCBA: rules 0
	 took: 0.16  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