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-06 21:39:01 rCBA: initialized
2019-04-06 21:39:01 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8674175644692041,0.7830706234413568,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.8593991400087873,0.7377121945710967,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.8484779978726305,0.7364691739652867,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.8348157341713016,0.6252862112876962,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.8274175453240137,0.5625765258674804,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.7887617549799906,0.5442854356387334,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.7754773298409459,0.4750431781399698,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.6766553029643146,0.4270214346519384,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.5660639442169059,0.4084163348609874,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.5607208847630074,0.3366014222360169,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.5446351050340811,0.27340913764896635,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.5104366618061116,0.24356166987967404,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.4410720614268013,0.23487085185270684,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.4352700612691561,0.22078105593674213,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.4022701187566324,0.21162628935634578,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.3698158918231363,0.1955944867570399,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.36456082878410556,0.180033985736648,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.3204962676594633,0.14822766974498378,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.29832721963599007,0.1293257382355633,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.2531345635758023,0.1067872026054501,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.24660268933591584,0.09200824674226765,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.20285784909323037,0.07459184786856896,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.18651505949986596,0.06291512184762245,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 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.16841924342935422,0.05915103502332188,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13875606381581798,0.057435047975030976,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12633098949189348,0.04873917551419602,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12632981783398642,0.04111155158026497,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12115928331258924,0.03725236766761393,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11193495034277284,0.03674454642809217,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10408909616427918,0.0338748820140433,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0855160188899934,0.03225351296642408,1
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 06, 2019 9:39:01 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-04-06 21:39:01 rCBA: rules 0
	 took: 0.62  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