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-01 07:28:08 rCBA: initialized
2018-07-01 07:28:08 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.008380591905287726,0.766401632117198,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00837297462223933,0.6771708372740078,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007019788371990703,0.5493062160407522,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006481907430657775,0.4884785758333081,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006475839455177637,0.4702021440792203,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006167245218223304,0.38207815793322825,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005325511628572606,0.3770165653840606,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0052926288705752444,0.3179602285607048,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004335568145119621,0.2922628448028313,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0040926999604578955,0.2524851765001382,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003427533708915228,0.20484801876172148,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0033951007916452644,0.18887140096680344,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0028459264735106993,0.1858182204863684,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0022788116716900013,0.14881490172161144,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0020795370338240853,0.12522579378200063,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0019020461000081742,0.11464925678627551,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0017650283392605156,0.09952816358600908,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0015842821554245764,0.09274902419029095,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.001506794603061163,0.09169042846516964,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0012721442617464923,0.08485529236746589,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.001195606757590932,0.06876166938427677,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.001044071614577736,0.06714865194614471,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 9.201190519863805E-4,0.0629920075760073,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 8.298329442525E-4,0.05240836328369389,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 8.141391568161427E-4,0.052063730673302305,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 6.917075369544793E-4,0.04452018971575523,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 5.854940351715764E-4,0.042938916447262866,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 5.16708824691988E-4,0.04003580838502127,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 4.3759868579019404E-4,0.03449697752676045,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 4.2946110726734097E-4,0.031344455736407685,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 4.234793865978191E-4,0.03012542669991642,1
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 01, 2018 7:28:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2018-07-01 07:28:08 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