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-11-26 22:47:11 rCBA: initialized
2018-11-26 22:47:11 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.08978969799890713,0.87785610576109,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (13)
Frequent patterns: 13
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08223291972967638,0.7398409216963804,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (13)
Frequent patterns: 13
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07124202142131077,0.6561732906262431,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (13)
Frequent patterns: 13
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.062336497953468566,0.6468727892600006,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05393664189357823,0.572353818836824,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04805574674354916,0.5138886626676998,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04728631970926163,0.43049749392742204,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03805139535923251,0.39975084343961587,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03437778754166197,0.3910874742992674,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.030734887434982983,0.3763509604365086,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.029434126755519208,0.3385610341652556,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.028523677074561632,0.3349624111266517,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02705310462360563,0.300972179566091,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.026641001709967728,0.28839622404549065,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.023549710814650706,0.2383897235015441,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.019264063165547202,0.19495374599568713,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016989572812442205,0.17119106412002924,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015404846197257354,0.1420294972559299,1
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013566742174372889,0.14151270156364304,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01159787251371273,0.11413293085065773,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009994575417239198,0.10643385458479945,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008697707964700888,0.09758249848024378,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006984004312097145,0.08324521270372279,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005729065795067946,0.07359783418852701,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005460221577972246,0.07056436213835682,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005281400657058436,0.05682938102066703,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0044766833656500514,0.04846423840594574,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0039132531167757,0.03948658601527449,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003796097529440703,0.03846077418630519,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0036535134385979797,0.03179128600913421,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0032982617217939196,0.028580083879145766,1
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Nov 26, 2018 10:47:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 48
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2018-11-26 22:47:12 rCBA: rules 0
	 took: 0.85  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