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-08-06 17:42:19 rCBA: initialized
2018-08-06 17:42:19 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.23635886777356607,0.8908969156623392,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.20598908376454236,0.8281520923419129,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.1937862482855201,0.7141494451120625,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.16567765128473508,0.7074390845781968,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (11)
Frequent patterns: 11
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.13741008399187246,0.7049377247965587,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (11)
Frequent patterns: 11
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.11822132486003795,0.599616983563701,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 17
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09467100088105833,0.49801175546982857,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 17
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07626977513464588,0.41702301428972416,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 17
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06601529556375466,0.3907353782602222,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (17)
Frequent patterns: 17
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05429046508413847,0.37130835421903763,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.05340455393546707,0.31425050291086254,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.052530600208161554,0.2821805797615369,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.04567031077887068,0.26912852223114314,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.03705969811488198,0.26532165586905965,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.03607068330866696,0.2344637633530407,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.03413529393648017,0.207897921763487,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.027969795895752634,0.19873970829731968,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.026817789883136357,0.1918140952818852,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.02183083268452357,0.19154279021920528,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.01779448115537622,0.1624973657418965,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.014520226896910826,0.1364765966890898,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.014088837891413934,0.12751346612043227,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.01349484975880368,0.12459780081552435,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.011543738554329223,0.11373115822571576,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.009748728260912049,0.11018134271923097,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.008284926649612319,0.10318589204351813,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.007609088919390566,0.08508688255393149,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.006736829425331113,0.07025492606100064,1
Aug 06, 2018 5:42:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:19 PM 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.005913231963164846,0.06181012388017606,1
Aug 06, 2018 5:42:20 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:20 PM 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.004823944297787639,0.05032059957665736,1
Aug 06, 2018 5:42:20 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:20 PM 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.004637353803311687,0.04680464784383609,1
Aug 06, 2018 5:42:20 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 06, 2018 5:42:20 PM 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-08-06 17:42:20 rCBA: rules 0
	 took: 0.23  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