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-08 21:30:13 rCBA: initialized
2019-03-08 21:30:13 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.17641644141179857,0.3142008060524115,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 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.16205407385996437,0.2577645146587217,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 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.13560085117831253,0.2114641890013033,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 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.12799004389414667,0.20832105819512697,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 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.10923267245208719,0.20253367237201603,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 37
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1045314881041821,0.17860190520871777,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 37
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08875506239139194,0.15834624323228677,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 37
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08605161152935005,0.15056842627155773,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 37
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07455350882807267,0.13175844079705312,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 37
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07346453441785734,0.10649694626747036,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 37
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06306549031897563,0.0915033628857691,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 37
Rules: 18
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05369477253368172,0.08023698804052226,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04894458767044506,0.07167566655310018,3
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04694746832135337,0.05961158234493642,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.044650337733027325,0.05583394008415752,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.036494057638901366,0.04593586110813291,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03201264434695819,0.04349773969678186,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02760477938515154,0.037555262243868244,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0259402988095665,0.034995646591506606,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023479696944130744,0.032471927653425985,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018944797971563215,0.03220218146707721,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.017449339910337234,0.03182474190182497,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014113720199628674,0.025904960058835646,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012438485466522087,0.02175292665502262,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010490169315879184,0.020434186256249,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010478344618160816,0.018636794456252243,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008591003194536977,0.015065754580757991,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00785384632401041,0.01425798785938696,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0069763498131812625,0.013114786980183632,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00685080780179242,0.010853383401794016,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005816309729843859,0.010680729155082487,3
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 08, 2019 9:30:14 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-08 21:30:14 rCBA: rules 0
	 took: 1.08  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