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)
2019-04-20 22:17:05 rCBA: initialized
2019-04-20 22:17:05 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.7459966815411574,0.5126058265255038,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.727031871609401,0.46796538527915243,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.7138233503734689,0.4277420403537893,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.6515806464022517,0.35993376448966297,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.6106501168759854,0.30668678811036687,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.5933231803644928,0.2931561298918406,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.5373789121153036,0.2609499903520916,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.49472296640195584,0.21745021099336842,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.41399434060580864,0.21281674163210823,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.3578707031088986,0.1902642218436004,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.3181864556149831,0.16908045225892043,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.2696163995414907,0.16573316119593978,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.26232100307007794,0.15097671376554075,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.24314948597077407,0.12145169207008918,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM 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.2329519665086055,0.10853849072463446,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2171254355713974,0.10800670244208141,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2110658864129924,0.0940100521345934,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18595497860915183,0.08647729951001412,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16335106039915367,0.07058755492384795,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13884039686870248,0.05861841957890959,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1167790557739859,0.05610019973872781,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11154721860356087,0.05264251570994355,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09581702953826647,0.05017139846569518,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0805654499916359,0.04044264304751969,1
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07121585065190573,0.03964369827212102,1
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06032440917544778,0.036335401303418065,1
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04972843236896263,0.03051289063162442,1
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.043592566205045834,0.026588992514228194,1
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04271022612905592,0.025024912532146122,1
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.037266647744437977,0.024022428090579636,1
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03178684595794238,0.02222241540871938,1
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 20, 2019 10:17:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-04-20 22:17:06 rCBA: rules 0
	 took: 0.53  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