Running examples in ‘rCBA-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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-03 10:30:19 rCBA: initialized
2018-07-03 10:30:19 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.43682197056096983,0.7215761542844827,3
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.39216754700721135,0.6574949763572491,3
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.3875602367816994,0.5408682087938467,3
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.3651099781994811,0.4961266765669904,3
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.3222353618145553,0.4564609509641827,3
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.29367034997642344,0.44718976447260556,3
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.2898318255523265,0.42144062070611615,3
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.26892888926930225,0.3893266979458415,3
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.22892523040384724,0.3871668689609262,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 7
Rules: 2
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.20079136648048182,0.37992671929356797,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 7
Rules: 2
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.19044763857271424,0.31882080438457305,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.17548151940119136,0.29973840885778996,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 10
Rules: 4
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.14736487927529196,0.25033009802448386,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 10
Rules: 4
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.1355678152464978,0.24826978543466252,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 10
Rules: 5
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.12257616823176985,0.23249675603553457,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.1104242625246522,0.18887718903931527,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.10988303695372005,0.18748496985252316,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.10884149500177479,0.15113863914020395,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.1003297007169091,0.14823732145407836,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08710222929910892,0.13115857646905243,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07807106890369352,0.12482677515437976,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06911452646935921,0.10761140157049347,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05773901870351784,0.10522900195268434,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 341
Rules: 143
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.049981041651575096,0.09475116235917364,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 341
Rules: 143
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.043054986509866354,0.08099595968714837,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 341
Rules: 143
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.038096166762988895,0.06992426207626105,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 341
Rules: 143
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0345710572542498,0.06474991222992953,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 341
Rules: 143
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.028263453395741284,0.05821482683947581,3
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:20 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 341
Rules: 143
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02825006349524811,0.05678984530163167,3
Jul 03, 2018 10:30:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 341
Rules: 143
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02645214556692125,0.05167310823254419,3
Jul 03, 2018 10:30:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 341
Rules: 143
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.025442761945499368,0.044765146004564146,3
Jul 03, 2018 10:30:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 03, 2018 10:30:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 341
Rules: 143
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
2018-07-03 10:30:21 rCBA: rules 0
	 took: 1.65  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