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-06-24 22:47:46 rCBA: initialized
2018-06-24 22:47:46 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.37384267926236137,0.8913538707322893,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM 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.34240440182145415,0.8213475528188291,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM 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.3223618472546351,0.6905647788858829,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM 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.28315645652734134,0.6600779684003376,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM 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.2605716204018182,0.5962230256905625,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM 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.24847942714993443,0.48793330499449683,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM 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.23111530869275798,0.4286483627971523,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM 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.20747094417694056,0.362127696629426,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM 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.2065644103633445,0.3140992646543386,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM 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.1881584026719535,0.2590251206141354,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM 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.15546548662725423,0.214749160592877,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (9)
Frequent patterns: 12
Rules: 6
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.14061156040086806,0.1971478410069434,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (9)
Frequent patterns: 12
Rules: 6
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.12975928149096355,0.1595533090590369,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (9)
Frequent patterns: 12
Rules: 6
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.11254607796336058,0.1570988393552578,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 42
Rules: 16
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09280377524525844,0.12608415945159093,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 42
Rules: 16
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09013726460561891,0.10923828162119491,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 42
Rules: 16
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08985521882817238,0.09721112345641625,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 42
Rules: 16
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07488715190752578,0.08126113065172123,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 42
Rules: 16
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0659710387040957,0.06737340023128037,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 42
Rules: 16
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05728111598621056,0.058791712628845874,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.050400946157236406,0.05238918370743604,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.045503108343600926,0.04515369490507021,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04269936626478999,0.03764191005235561,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03433517795910487,0.03106827546221741,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.030524106667685607,0.0274298028528345,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.029720743368553165,0.024285001429114435,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.026280711356704765,0.02073449442880182,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.021029860882394412,0.017465584930790937,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01705278835859741,0.015398839682527058,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015860188592903255,0.012348346478969069,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015731574498654196,0.010621631944069744,2
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jun 24, 2018 10:47:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 175
Rules: 49
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
2018-06-24 22:47:47 rCBA: rules 0
	 took: 0.39  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