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 10:59:12 rCBA: initialized
2018-12-25 10:59:12 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.028063522470452518,0.6610104144004593,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.025730754781247957,0.6378779059240357,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.021348709224459556,0.5685289112575108,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.018249142206477824,0.5057233686605384,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01732555986709152,0.4578133699437138,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01612960926270208,0.37247993563838794,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01326168337761403,0.3381768722445573,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.012988127877397598,0.2757330694475005,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.012015639556389195,0.23681961489237638,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010273100852812241,0.23216056727094683,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00975158569027232,0.20162902036297373,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009661988305355383,0.1829084338604437,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009217144563895685,0.16454307428495168,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008438287782888146,0.1526044932089586,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008163672510790733,0.13304697646051414,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0076462155901651264,0.1111393228524476,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006820190776690962,0.09371121969440784,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005696928774332759,0.0774099201805456,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004579723392853376,0.06679712761026589,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004070846558375997,0.06199712824588893,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003664268043581255,0.06147486261762578,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003080615557772962,0.05415583980492702,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0025737428184477054,0.04688215863540854,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002497515967690723,0.04482987174278898,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002048563550752796,0.03800922628012346,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0020122566719725406,0.03240274544934302,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0016158156366939524,0.027495506149115164,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0013362937497526464,0.024761399634530435,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.001269373626368172,0.023057226267253143,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0012662245207694246,0.0186895790885557,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0010777411164029445,0.015313441941706033,1
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Dec 25, 2018 10:59:12 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (47)
Frequent patterns: 47
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2018-12-25 10:59:12 rCBA: rules 0
	 took: 0.89  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