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-02 21:37:53 rCBA: initialized
2019-04-02 21:37:53 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.7692720572594195,0.17498822032277828,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.750564875916001,0.1679398668608834,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.6899006978508025,0.15179218957522136,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.6744029091662921,0.14342746904497483,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.6266885333408672,0.11706123249978065,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.5112820763500289,0.11232665686887024,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.4397782431626241,0.09681769989387344,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.42470586345394795,0.09121587785043374,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.36017097441971235,0.08029259953897211,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.3283501074821869,0.07752087217401794,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.2847830560108781,0.0726198631701776,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.27016362895448043,0.06561875632642485,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.23988321126493192,0.057150599010334056,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.22121574442348002,0.04637716779693671,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.21671459894624306,0.041309688184049655,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.17824006946796234,0.03619299682777779,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 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.1712249317215805,0.031292624203214804,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 PM 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.1693753587132653,0.025622561111745133,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 PM 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.1363412964695345,0.02268990626948759,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 PM 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.1263893882764898,0.02058794946949501,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 PM 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.1198035152614616,0.019834486263882088,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 PM 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.11795740056381462,0.017288503926426772,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 PM 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.10110070709019496,0.01624453478658793,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08169943896592015,0.013089737018578353,3
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07960242652463481,0.011940639570114837,3
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07511974965934878,0.011805617404748874,3
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07320325449013794,0.00955414434042899,3
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06109743903154301,0.008184508013341167,3
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05116741447102523,0.007001542698302551,3
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 376
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04785163968379505,0.0064581475308304916,3
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 376
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.042272147598754195,0.0060622161920578154,3
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 9:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 376
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
2019-04-02 21:37:54 rCBA: rules 0
	 took: 0.83  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