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-03-15 21:33:05 rCBA: initialized
2019-03-15 21:33:05 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.5082862962444449,0.8878323341524261,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 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.4896827991464143,0.7428963023875104,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 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.4438699725315751,0.6817420247052064,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 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.38013651350503624,0.5707404157411518,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 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.35056649100210213,0.5069056538578556,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.29339299514439865,0.4392656621679535,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.25199828675099173,0.37416491471117064,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.23937150082647643,0.31401095233633974,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2132733080335019,0.28444199837277334,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 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.17247559414636596,0.24598510399839338,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 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.15306347330757092,0.23081549210770666,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 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.1341854515252773,0.1880547148072656,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 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.11710064522668052,0.17410441783961644,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09402475643536444,0.1576084618032317,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0831908363715564,0.14084757167297765,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07613289656344159,0.12944030138240192,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06829528265656436,0.11448727176040323,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05961727622286423,0.09994795290368458,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.056471123043662974,0.09673036596452808,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.056160607551698,0.09484155519111438,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.045238729596115586,0.09178739429898189,4
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.039945008085460955,0.07820097419125673,4
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.032159956226972375,0.07713563853045355,4
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028918698855921313,0.06433546080932052,4
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.024780348646290615,0.061465156642563704,4
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02366277326767971,0.06105746499802515,4
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02308951027498145,0.058863683222662944,4
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019229493304361,0.05416470517988156,4
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016464319472154335,0.05293153966894758,4
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01613703157996792,0.04483061090197726,4
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015375431979954985,0.04413596115281275,4
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 15, 2019 9:33:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 465
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-03-15 21:33:06 rCBA: rules 0
	 took: 1.38  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