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-01 00:34:38 rCBA: initialized
2019-04-01 00:34:38 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.4164532842229681,0.28809404306981723,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM 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.36811701423712356,0.2615859848927618,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM 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.32663439013204015,0.21306571709506716,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM 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.3179514334144189,0.19483347018719002,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM 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.2715723905694069,0.18005779125289917,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM 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.2550843213877108,0.17408548298643484,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM 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.24205810132966435,0.14250669616296766,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM 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.22695566885553842,0.12912155732517636,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM 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.20662485789400276,0.10548469241553647,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM 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.20271607962199883,0.0929946228862833,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM 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.18627857220660576,0.07722367828583644,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM 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.16125770299695003,0.07083311336628609,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12901280264180962,0.06031617134698432,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12626194307257807,0.04931463344220488,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11318074192956015,0.041396741597385586,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 38
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10811782751943935,0.038108810562201376,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 38
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08690148629909338,0.032156792385380474,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 38
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08299181568650549,0.02999998537773629,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 38
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08201259565331495,0.02942324758359307,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 38
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06682040256417507,0.027867769813090606,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 38
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06021800905682715,0.02444422940304412,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 38
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05427189410873626,0.02276282945431068,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05386269431115614,0.018958791459319394,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05033608421253786,0.0172071886810469,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.049496315398103626,0.014051522956415692,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.048613817192248464,0.0125450032353402,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04415574079603332,0.011361256539229907,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.036877528991750855,0.009727570074656723,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03535574709281058,0.008844304416260006,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03066274961944627,0.007742736035726705,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02665178992140793,0.006755027474478987,4
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 12:34:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 454
Rules: 224
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-01 00:34:39 rCBA: rules 0
	 took: 1.04  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