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-17 21:37:01 rCBA: initialized
2019-04-17 21:37:01 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.4780145532124984,0.3087381562525652,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 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.4287391264101214,0.25555518778670894,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 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.41085577159846376,0.22811352749138172,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 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.35998663159241473,0.2259653657411279,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 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.3509955428442538,0.21317001345807257,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 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.3193871170647871,0.19341381138513858,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 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.30181701372633996,0.1864974616318054,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 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.26945028966372747,0.16848043019280437,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 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.24834604213189568,0.14122350414729098,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 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.2154776385764009,0.11585563417498264,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 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.18436223975074778,0.10914922375232322,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 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.15898692919561982,0.09931023837571194,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14874002980341858,0.08766620018939443,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12626913422671124,0.07983139027569401,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11735256018259105,0.07086644165765878,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11337169447961663,0.05868794450809502,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10432337874760543,0.05493897277385786,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09736982767301057,0.049863057897515044,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07800614338309118,0.04938866627791336,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07653345864307114,0.045437068188215905,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07392640411244664,0.041869961642137694,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06082673180348786,0.04041308760084394,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04937570330052821,0.03661547023289518,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03965353079342329,0.03431563152426607,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03796215140435463,0.028211714951992036,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03685524125806401,0.02801161987850866,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03214012464871693,0.024228414630433424,4
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027163128917381273,0.019880101965530146,4
Apr 17, 2019 9:37:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02469803306246788,0.01718339059111687,4
Apr 17, 2019 9:37:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021500820058951067,0.013946437628392922,4
Apr 17, 2019 9:37:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02028029570345157,0.013908577924916694,4
Apr 17, 2019 9:37:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 17, 2019 9:37:02 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-17 21:37:02 rCBA: rules 0
	 took: 0.93  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