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-02 21:31:30 rCBA: initialized
2019-03-02 21:31:30 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8595874601626998,0.16355558430014638,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.7949095925029368,0.1353381496173322,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.6850679685327403,0.12051936904314847,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.6068394757067639,0.10437904604545183,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.5495768744624552,0.10421023152613815,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.5416703488362434,0.09436078805935247,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.44414246526021045,0.09262853105601807,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.4268725897830581,0.0863266440898166,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.4255699677651681,0.08630255416399563,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.3483316785296373,0.08482406343301437,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.31878024053571674,0.07282483597685585,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.3167023127316329,0.06184563157909116,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.2853171795228495,0.05229488280200976,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.2549286902696743,0.04893054485113149,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.23176911480625748,0.040868650379361424,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.20259675926670562,0.038182821701078146,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 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.16272550702639574,0.031000338898382253,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14055827215078967,0.026994577037439686,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12856387227738117,0.022249503869608528,1
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1213280375255107,0.021417970918897793,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12128097685783235,0.0199782944931925,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09890312837288877,0.019837692614257843,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08616700060131247,0.018676513105957006,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07260984192244888,0.017717377575865282,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07159549308574119,0.014422821858055523,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.060244578418680625,0.012931745911853896,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05349770953236851,0.0112322556346264,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04346454512621773,0.009886458296549978,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03798288178228634,0.009048196172630503,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.036287774679880515,0.007285527183303199,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03384824125954998,0.006245081186140643,1
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 02, 2019 9:31:31 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-03-02 21:31:31 rCBA: rules 0
	 took: 0.58  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