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-11-24 18:52:17 rCBA: initialized
2018-11-24 18:52:17 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.1447644803205762,0.1974397354038967,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (11)
Frequent patterns: 17
Rules: 8
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.13413862409414462,0.19098907218927363,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (11)
Frequent patterns: 17
Rules: 8
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.13306635486449012,0.1785083990410278,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (11)
Frequent patterns: 17
Rules: 8
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.12394131433484507,0.16566190961956684,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 42
Rules: 17
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.11538093099285529,0.13387610688048057,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 42
Rules: 17
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.11499438882329735,0.12201973772841987,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 42
Rules: 17
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09755927807474075,0.11662647189387484,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 42
Rules: 17
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08082660051280127,0.10030455399582273,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 42
Rules: 17
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07699493287109967,0.08281480029235767,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 42
Rules: 17
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06472892891343163,0.07315693489350546,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 42
Rules: 17
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0612927241244528,0.06827593659684009,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.051414040758317736,0.06683836401563044,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.048823505649623004,0.05944124674976034,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04298052534958773,0.05911703840993701,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03473168032462986,0.05050524624259734,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.033235631407063475,0.04643104650586141,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.026958929311204076,0.03982063546403173,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.025598126381609097,0.03344032055446144,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.020729266324122163,0.03320145539790111,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0200013035171271,0.02827401948947632,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.018383743912421473,0.025044424165696903,2
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016170570770962858,0.022032931392052875,2
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014447188780332437,0.018059677967038164,2
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.012840674595030802,0.016725882351915196,2
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.012088341374674147,0.01503263257480815,2
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01069877798687407,0.014100539024967015,2
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010486311266691367,0.01173257080303468,2
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010257921168318342,0.010209618247041865,2
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00937324677587975,0.009473359039530123,2
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00756442932714291,0.007584710202359863,2
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006559892010915357,0.006854553169606222,2
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Nov 24, 2018 6:52:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (41)
Frequent patterns: 169
Rules: 46
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
2018-11-24 18:52:18 rCBA: rules 0
	 took: 0.24  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