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-07-15 21:52:15 rCBA: initialized
2018-07-15 21:52:15 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.1427213523615406,0.9609982946198263,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (10)
Frequent patterns: 10
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.12093362636304847,0.8974883243439793,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.11357858868041261,0.8568010865263009,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09426991164949683,0.7567536034526725,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09274647991364547,0.742385031399208,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08574853141972096,0.6269802126131803,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08473765663180918,0.5953266871784614,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0815671506650519,0.5252500849693871,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06559484045929145,0.4573200349648753,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.053390344466311024,0.4381087668022226,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05214959024768616,0.42898213845051025,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04690650695082137,0.3845968989577165,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04054444470612237,0.3630472792451228,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03359404862119425,0.35199278393945654,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.033488256954484125,0.2894498964765981,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.032221717722204044,0.23549541487573064,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.029098708552265075,0.19232978857885502,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0244600075022024,0.17745106799509663,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02341582269026711,0.16307642411479198,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.022520561706673155,0.15212264361982902,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01840481148331856,0.13804401335785668,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01742821471530736,0.13142202508495782,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016668913275845146,0.11827738056139563,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014810634223816337,0.10377875424124376,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.012292471851301558,0.09972496368368475,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010322151285355529,0.09888449231535097,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009854977418959743,0.08988802294181533,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009613933128548956,0.08365994242559184,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008017832980840469,0.07363710405690063,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0074713356825852496,0.07204734839431988,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0060603434193813605,0.06933276456759106,1
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 15, 2018 9:52:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2018-07-15 21:52:15 rCBA: rules 0
	 took: 0.14  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