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-01 21:38:29 rCBA: initialized
2019-04-01 21:38:29 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.19841324234478186,0.313286127638151,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19320279967891327,0.2566786383158902,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16597760986144974,0.2441555503646771,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1527629189865413,0.21364063917144466,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1477789014574786,0.21097998345264368,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12872066662269985,0.21024421552398576,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 5
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10743905367175247,0.19093609655356586,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10124020406606012,0.16202294437045742,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08212963374349466,0.1431233646870588,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07046806483673901,0.12776719267138312,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06770492059891725,0.11118233730788586,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.054655417953341015,0.0903456313870077,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0444597667067751,0.08703546296959852,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04035879311347248,0.0838326845745121,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03771623603940774,0.08279229985917377,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03572663632710622,0.07818221450147005,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03043232241188626,0.06524400893145298,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.024686306531028976,0.059428291604927706,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023094015548861462,0.05342794685657039,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018972525615159542,0.04679347275008587,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016249557242398825,0.03997355364153136,1
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014774331295926525,0.03341161362265363,1
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012746335633404247,0.030705239123577716,1
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011752566144525927,0.02626037697044377,1
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010671907633759001,0.02411270223694865,1
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008859150989053226,0.02124768035813236,1
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007470287983854946,0.017299443709787872,1
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006967368161044565,0.014372643452613423,1
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005834116618126954,0.014302192653671345,1
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0057890395832371315,0.014168650368289003,1
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005412364917562696,0.012012632542869016,1
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 9:38:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-04-01 21:38:30 rCBA: rules 0
	 took: 0.69  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