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 11:33:45 rCBA: initialized
2019-04-02 11:33:45 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.15332859193145942,0.6503583019166067,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14122393428114907,0.6044190022160159,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13949481651889262,0.5653166546669673,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1359370817555301,0.45527516049231337,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13362898021377442,0.3892348767639525,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.129193258898439,0.33801305346937965,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 4
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1142366208879411,0.294162701650518,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 28
Rules: 12
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10835227725041245,0.2549843973816136,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09401045437156537,0.2537470617109899,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08278957959937097,0.21380995356787533,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07529148936703799,0.20330289472641705,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.073254413520398,0.20015038180286346,2
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07129483896309932,0.19028557349571087,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06112552259050584,0.15648099310589894,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.060435404762748286,0.12530615454282532,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 28
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04848239798622371,0.10109231022100354,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.041455338595973716,0.09063043492421509,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.040435364183037406,0.07681833067452307,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03735052853115044,0.06656115881078081,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.031778294451145314,0.05641671970888335,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025881102501096365,0.04607372512615779,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02119346885921826,0.039627560611474766,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.017001042267901667,0.03816185908706204,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015462694508603271,0.03146484455793095,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015077980793608673,0.028456985694533782,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013048693122502678,0.02528955703750178,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01185915135051076,0.02238402685610293,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009648195920243052,0.020465777974797313,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008955227465504803,0.018885708056925972,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007832957583715718,0.01661059956190352,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0073228758751489615,0.01390818315452649,2
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 02, 2019 11:33:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-04-02 11:33:46 rCBA: rules 0
	 took: 0.94  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