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-02-26 21:20:54 rCBA: initialized
2019-02-26 21:20:54 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.0066823006239692395,0.03133343734664085,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0064218708033337984,0.026894256996430915,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006196418596555457,0.026048336919492987,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005353148441776255,0.02130268736738406,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004290307355533084,0.019830633053437387,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.003557888034206733,0.017231037327027503,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0028564212778149274,0.01699229124743897,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002703551404303141,0.01384363353050547,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0023103016374953237,0.01263660318717711,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0022815923039107063,0.01259223120533139,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.001968302196874264,0.011213063940320631,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.001838366979290656,0.010677934167608327,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.001751072874763959,0.009233478273685126,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0015808979070408024,0.008151295567575633,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0015494433471069454,0.007645997063255397,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00142900215149994,0.006344960879476358,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0012802871696599382,0.005729302840649786,4
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0012617397206516087,0.004923152905192896,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0011442283321376882,0.004803060223288589,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0010279967555637509,0.004252172440501396,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0010253450778007498,0.0041788819771112,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 8.499639101988388E-4,0.0036445361554532925,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 8.428539978273379E-4,0.0033225693683816863,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 8.131189712954128E-4,0.002680317467816466,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 7.835950405875624E-4,0.002248315934372476,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 6.973704209665679E-4,0.0019056628906585584,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 5.846621570883441E-4,0.0015657585548037498,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 4.7035827223860626E-4,0.0012919883874367036,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 4.0536220772493603E-4,0.001237210921112097,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 3.747285377617626E-4,0.0012279225149048492,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 3.253536365946708E-4,0.0010990463785264786,4
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 26, 2019 9:20:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 469
Rules: 230
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-02-26 21:20:55 rCBA: rules 0
	 took: 1.16  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