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-29 21:03:55 rCBA: initialized
2018-12-29 21:03:55 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.27823028347707335,0.5304315993771407,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 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.26160114925106714,0.4802330196078395,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 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.2176541140627228,0.3912412376195254,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 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.1925242165971061,0.3184760138895973,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 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.15699357296239919,0.28268659047212463,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 PM 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.14986760643011054,0.2702207039741908,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 PM 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.14354507291775295,0.24540967493102936,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 PM 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.1187192825076382,0.21228442898607472,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 PM 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.10392984213614428,0.17045436459010646,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 PM 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.09001251102756656,0.14007041346085627,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 PM 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.0821041851906079,0.12532551560138513,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 PM 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.07876364620764807,0.1212923082538748,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 PM 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.0660566698062422,0.11874638063387874,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 PM 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.05385027142688385,0.11752451578737763,4
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05138154276094441,0.09987479492281057,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04388584124249353,0.08729311582836427,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.038209059668864995,0.0755767505869383,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03744088103087124,0.0667490913675085,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03209795802829902,0.057234535172214517,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.025892559540880315,0.052988420040168335,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.021976524690047714,0.04603773032586381,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02050318409038533,0.0415763381054997,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01806244363869545,0.037353228386946734,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01454068050224372,0.02993883587690558,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011741970391345455,0.02873872794508208,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011648265953106512,0.025038936405895787,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010150351103018434,0.020459269586455418,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00920888026554104,0.020078331539683757,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007907978514219273,0.01736915687946436,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007537318523783146,0.016922453690569945,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007129316329925547,0.013994858701534612,4
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 29, 2018 9:03:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
2018-12-29 21:03:56 rCBA: rules 0
	 took: 1.6  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