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-10 23:41:58 rCBA: initialized
2019-04-10 23:41:58 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.6420197801765474,0.8261801122655057,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5680030640700982,0.8149516079245095,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.48957666295947655,0.6951243743136827,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.47671890826779495,0.5567698383548302,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.43625604938117957,0.5078281556667457,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3810399066934748,0.4286074701286068,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3372860720803138,0.3553528272444717,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 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.3028179370357625,0.35027922537089334,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 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.26543948557367963,0.3234854145322651,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.253993604214986,0.2598916155996717,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.25304463998133636,0.21199141218153483,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20626909421203618,0.1733856527282622,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 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.1681603797441995,0.1389629437536237,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 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.14251691432431485,0.13399751776657196,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 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.1399090455817964,0.10824527501891179,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 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.13413082510718294,0.10501729518009965,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 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.12440764657171396,0.1028064290965939,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 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.12021680470897718,0.09896203291804118,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 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.11229312794059414,0.08963690060192363,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09120490393787016,0.08546461995565215,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08019347166062821,0.07319499720692424,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06926158107613087,0.06327063440360771,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06745022659955724,0.056415103461301234,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.060247847056721066,0.04757060648128649,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05510425455425189,0.04070248171612418,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 459
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04872810006345621,0.04055422030895779,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 459
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04532107364541901,0.03739469865850763,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 459
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.036299537370829985,0.03429632055079178,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 459
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.035413569053099704,0.02896082900565383,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 459
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03116604934230536,0.026755285173446646,4
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 459
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026396996889973542,0.02434747653412141,4
Apr 10, 2019 11:41:59 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 11:41:59 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 459
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-04-10 23:41:59 rCBA: rules 0
	 took: 1.01  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