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-05 21:38:16 rCBA: initialized
2019-04-05 21:38:16 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.3442270762993135,0.6876093007512507,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 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.3091903399462752,0.6114772871101298,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 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.25139470338139663,0.5062801616878784,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20754035362011977,0.4464931366031318,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18555645311414792,0.4441435466260565,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.17426673293684905,0.3806732484248452,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1636726774265386,0.3137890196798269,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16362291326234468,0.2785687966110175,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 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.15121583410714076,0.25849178114365917,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 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.1230444651631967,0.24644988165169296,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 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.10934297570913572,0.21434633781382897,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 36
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10696344458057733,0.19324226219611565,3
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 36
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09248035649496618,0.17552545202350575,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 36
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0781738790984477,0.16607836002292045,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 36
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07261940605174133,0.15167666821441853,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 36
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07110193489608928,0.13882312277025932,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 36
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05984831977454883,0.11896629057526562,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 36
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.050164876260254114,0.11076224086517879,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04416131404780043,0.09636674694615906,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.039943571443098326,0.0927138582886582,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03838826401803811,0.07598249315064061,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03080132681981935,0.06995299480883492,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029299741771621403,0.06427061826519005,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026481055539076738,0.05756675322351587,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021662295122853965,0.04666756523834052,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019476715969200874,0.042474969250652944,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018206382769853362,0.037375111805787654,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015073072714113877,0.03249610338778887,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01313482862776432,0.02741632845253461,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011969530299739812,0.0254740425036309,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011155135217723398,0.02411286467707778,3
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 05, 2019 9:38:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-04-05 21:38:17 rCBA: rules 0
	 took: 0.99  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