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-14 09:37:38 rCBA: initialized
2019-04-14 09:37:38 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.6188919390751729,0.24870168760025635,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.5949916845783082,0.24791234931276956,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.5291861097335059,0.2042064556697546,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.4689537748363822,0.17102541753906858,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.4683654440440752,0.13743580926424623,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.405765843795563,0.11447083990322718,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.4019370115914487,0.1062453043845918,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.4006339418873104,0.09175924371886479,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.3960189575121499,0.08711840958999294,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.3912683216452486,0.0811832747871566,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.3667065232361455,0.07730597870661174,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.3443088681612742,0.07325471411448348,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.33951795889499575,0.0730914048418027,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.32178685611198676,0.060659714169058354,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.272732376592923,0.05187156122343943,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.25421699244116697,0.05037939994588279,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.21185939173660948,0.05001418181475146,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.20777190980840196,0.04559623902676496,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM 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.17175200145959876,0.042334118060112155,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16669657528149448,0.041301937156349305,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16023184126936624,0.040052699324275784,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1358373808097308,0.033387010164494926,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11532330405437553,0.030567863788549646,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10297588714742859,0.02658238731610649,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08444654929865412,0.022216519671865914,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0735308373589927,0.01907799562248849,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06053709019516924,0.01901827965853969,4
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.060344058278091514,0.01878886799541815,4
Apr 14, 2019 9:37:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05861248786416709,0.018039583205364473,4
Apr 14, 2019 9:37:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 461
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.055504733778221106,0.016079833359949412,4
Apr 14, 2019 9:37:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 461
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04490243939558993,0.013546733232829584,4
Apr 14, 2019 9:37:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 9:37:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 461
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-04-14 09:37:39 rCBA: rules 0
	 took: 0.74  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