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-05-20 02:04:37 rCBA: initialized
2018-05-20 02:04:37 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.020040945363133944,0.8926379429852512,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.01912693061650571,0.7171663912612789,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.018534912554862792,0.697129508478582,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.01844971894792824,0.6435779223939285,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.016808106396476893,0.5427102403980807,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.014918730434288244,0.4912379989295674,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.014514804672407674,0.41573419533264167,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.012709920337138081,0.362874562175012,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.011897199290997822,0.33545014317940913,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.010876030467100842,0.29905806054601813,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.008802142973827814,0.28096055492857863,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.007333648825996913,0.23363824176926556,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.006293589885320365,0.21819355346507435,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.00598507137306135,0.18687983424106505,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.005080521708192499,0.16197243928997118,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0043159975169287336,0.1604533923210828,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.004050773885745029,0.14124837257234082,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0035855335727540054,0.11491236545430498,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.003508914903558086,0.10892825638588857,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0030616497412737954,0.10613397775509803,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0025731403768936493,0.0958423198299396,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0021856654976806916,0.08843400811852664,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0020138407261714917,0.08465735898357643,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0018264320319450968,0.06884356167147669,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0015422880856935568,0.06038289316803541,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0014702251271065188,0.05766962807308115,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0013598944932811637,0.04655849007868641,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0013155885451296475,0.03964913185542204,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0011135627506285283,0.03593218442348287,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0011087273388156883,0.028816785699996364,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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.0010642412977322486,0.025560354261059647,1
Mai 20, 2018 2:04:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mai 20, 2018 2:04:37 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-05-20 02:04:37 rCBA: rules 0
	 took: 0.13  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