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)
2019-04-13 20:23:15 rCBA: initialized
2019-04-13 20:23:15 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.5933027870827824,0.5774649229341267,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5444741364961927,0.5025997505303316,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.50735748177455,0.43220004257084266,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.46449356296096567,0.36738579626294443,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.43147518615764435,0.3150639340569642,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3702320356792105,0.28594386976576935,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.314656095115175,0.2774308091638239,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.30398977226669827,0.24640401062994852,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.28552177645108,0.20608770520970954,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.25910580817538226,0.2023331556770567,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2280539905890965,0.19025391631196123,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20837100292926355,0.1726872824221202,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1829556915323201,0.152263542319641,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16353003198196178,0.14398883163668455,3
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16309599859689283,0.13907393348952773,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15097153761880577,0.11514440614738405,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1424133828494034,0.09416959041955963,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1269388248917351,0.08596159267434006,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10417665395194525,0.06981387264955467,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10094379767519754,0.06118941385070823,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10086705607662146,0.05506396593609508,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10003605451121347,0.05388344735972181,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08689850734123412,0.04931288246680383,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08192454016061722,0.04860759234485706,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07989435450236121,0.041177200574333016,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0691728639199789,0.035738182813523006,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06904925321961083,0.03126904412987293,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 32
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05817015509064609,0.025770977264644366,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04925670735767483,0.025274624784368715,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03988169960696887,0.02116841719998765,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03330787992205563,0.018603701168356433,3
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 8:23:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-04-13 20:23:16 rCBA: rules 0
	 took: 0.82  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