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-19 21:34:40 rCBA: initialized
2019-03-19 21:34:40 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.2359750547160674,0.19721866721927195,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 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.21491307278364738,0.1812486832816511,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 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.17942433633508736,0.16280571797275115,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 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.14813024107981215,0.14566058835326437,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12836169474751855,0.13222867109628814,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11289182514474616,0.1118093828016084,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 34
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09363922078482022,0.11024933644769253,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 34
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08369696192935348,0.105327814171524,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 34
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07219025320841517,0.10387015925522373,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 34
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0721123891557651,0.08333068373502582,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 34
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06279702356953425,0.07008469554353738,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 34
Rules: 17
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05573524255989584,0.06179801362190192,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05329384117341046,0.04998159041974099,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04960247858463712,0.04349467256952305,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04876885943350711,0.03750462786482036,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03979221927570092,0.033815675969400376,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.034820010291424765,0.029252165068575715,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03353295414493052,0.028040482161763202,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03044030067802724,0.02262541634584392,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029699372661885333,0.0217703749565764,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025259114552507088,0.020908337111759788,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025082202906075362,0.018565001776759144,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02222570899980107,0.01789034973759822,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018265782964450892,0.014840426390414644,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015324628349069397,0.013863573113812326,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014540493817550062,0.013705007504598004,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013590542569063908,0.013377976571307086,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013046501138781818,0.011705215122744247,3
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:40 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01202934332974169,0.010010716540111472,3
Mar 19, 2019 9:34:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011150556273094449,0.009717765343811764,3
Mar 19, 2019 9:34:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010021131479692396,0.009567736544633602,3
Mar 19, 2019 9:34:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 19, 2019 9:34:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 372
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-19 21:34:41 rCBA: rules 0
	 took: 1.06  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