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-01 21:22:17 rCBA: initialized
2019-03-01 21:22:17 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.33535394912018734,0.26636999179463305,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 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.2765874349022575,0.2514846061735583,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 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.26984509782518856,0.23690854715155008,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 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.21941242850784531,0.1950390938987354,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20351798456935316,0.18163306913219726,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19567167294309523,0.14889748879429152,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16025496030800396,0.13245755427429615,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1358213880735173,0.12345869357934375,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1249203827575358,0.1135922658346991,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11157731519855035,0.10233108726569846,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0954737893211262,0.09648658653343047,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08216122455300846,0.08819760013338622,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07253973715861078,0.0861349365749898,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06483310274603146,0.07736545800473872,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06201443074512185,0.0727334515500096,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05792468863382692,0.06477392253201163,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05744618562518892,0.057610796910553944,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04930451469588854,0.047427135083321775,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.045676736808331585,0.04530393270512219,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03847991782642195,0.04368561385829444,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03609347372654833,0.042791071383654074,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030191543597496567,0.0368728155510492,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02540204276503681,0.03546898397440096,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021616834646592184,0.03238963701454088,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019473347990704208,0.029882352335193596,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01564042607334909,0.025277284404301752,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01290683800901254,0.021822762583576124,3
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012219981382168574,0.01814943073795368,3
Mar 01, 2019 9:22:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012025989708036536,0.017542624298254247,3
Mar 01, 2019 9:22:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009855484746489713,0.01554688492526967,3
Mar 01, 2019 9:22:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008697598733399144,0.012588202188253185,3
Mar 01, 2019 9:22:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 9:22:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-01 21:22:18 rCBA: rules 0
	 took: 1.03  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