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-08 02:50:04 rCBA: initialized
2018-07-08 02:50:04 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.08713754150139685,0.9944132737784308,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 38
Rules: 9
Cached
Final rules: 6
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07760027819210327,0.878568388533638,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 38
Rules: 9
Cached
Final rules: 6
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07327345575507285,0.8248046175615179,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 38
Rules: 9
Cached
Final rules: 6
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06268880729393707,0.7262415546194455,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 38
Rules: 10
Cached
Final rules: 6
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.055060468247908334,0.6498129106589738,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 39
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04445746187525492,0.6474919276288911,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 39
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04139556408126155,0.5308233372309753,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 39
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03626268122417134,0.49942873486960804,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 43
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.035814557262129385,0.41383154250555093,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 43
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.031380325629783844,0.3800123970070955,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 43
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02893114276056973,0.36134850082448283,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 45
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.027395701855163213,0.30622293426082986,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 47
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.026933143367560655,0.2809008141636135,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 47
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02234154824936115,0.2412202250023962,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02037941889408794,0.22674673032857953,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016784868554545928,0.22112901345999642,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013450411475402074,0.2172817852835616,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01269340495452295,0.1875061825873986,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011348376566252254,0.15426420830633897,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010664395380677035,0.12684221660743997,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009261413840209011,0.10449121507188654,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00780148414276645,0.10279922962230957,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00661061426619459,0.098079853176986,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006262628747005903,0.09541420534974339,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0052207781476996075,0.07796363559333251,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004500805187610277,0.07079639379188578,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003975414326042016,0.06306081711241347,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00319642388836362,0.057712986957695764,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00286653768806512,0.04685778569188947,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002759198379368926,0.04451655496454543,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0023052177248545375,0.04401776048907896,2
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Jul 08, 2018 2:50:04 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 176
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
2018-07-08 02:50:04 rCBA: rules 0
	 took: 0.28  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