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-12-25 22:50:14 rCBA: initialized
2018-12-25 22:50:14 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.48350519359121946,0.7805807543566385,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 PM 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.47142689983422487,0.7615074921398729,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 PM 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.4268512444163101,0.750021041394747,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 PM 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.3791690450525246,0.6786983739608408,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 PM 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.368336194381516,0.6597515483013359,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 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.31222812133475103,0.6541469049851977,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 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.24996833539449573,0.6291503459241086,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 2
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.21214281730140816,0.5554471068556193,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 2
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.198849860189402,0.5340208571417251,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 2
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.16944780573452006,0.5165961172217141,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (11)
Frequent patterns: 18
Rules: 6
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.153839692239562,0.46734960513460705,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (11)
Frequent patterns: 18
Rules: 6
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.1294427657345104,0.4169361451675255,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (11)
Frequent patterns: 18
Rules: 6
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.10676023585668222,0.4020207278193652,4
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 56
Rules: 26
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.10523250282338968,0.37430038826363066,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 56
Rules: 28
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0977426395714402,0.30787524445727066,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 56
Rules: 28
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09685490810158051,0.30692698077575997,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 56
Rules: 28
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08937111589198844,0.25842033352089744,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 56
Rules: 28
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08020855125782002,0.21505899420333738,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 56
Rules: 29
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0736366823354945,0.1791699115375863,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 56
Rules: 29
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0730848580084264,0.1677718592316786,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 56
Rules: 29
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06705492004104209,0.14404617799688074,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 56
Rules: 29
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06335402855952088,0.12845456673051028,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 56
Rules: 29
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06235532293544097,0.1064681802232015,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 394
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05871275371301577,0.09954558851440463,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 394
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04772685980700749,0.09441101580592577,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 394
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04337161604570228,0.08384632219383328,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 394
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03941948420450952,0.07984811339165912,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 394
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03273332984458865,0.07273358719718295,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 394
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02645581828406524,0.06809722929418288,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 394
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.025079153362198393,0.06573188801421584,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 394
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.023196031632240106,0.05450472831313009,4
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:50:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (43)
Frequent patterns: 394
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
2018-12-25 22:50:15 rCBA: rules 0
	 took: 1.43  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