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)
2018-07-17 22:06:42 rCBA: initialized
2018-07-17 22:06:42 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.315906376899473,0.9894633807213532,3
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.27860189739829144,0.9028499826775452,3
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.23521779689846647,0.8119483803022614,3
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.23335337322210173,0.6535165201699281,3
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.20486541606255965,0.532876428695727,3
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.17423735623756156,0.43239764393733743,3
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 11
Rules: 3
Cached
Final rules: 2
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.1494933374586927,0.3648873318428927,3
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 11
Rules: 5
Cached
Final rules: 2
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.13240824131286355,0.31838228798641743,3
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 11
Rules: 5
Cached
Final rules: 2
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.109037519462638,0.285306506741671,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.1063112843542185,0.2666059527631233,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09870074497852722,0.25750800666130375,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09336013734779815,0.22001560605324413,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07863312022073272,0.18567934949879578,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06359356713879638,0.15539257650045687,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06327056897950045,0.1455168265875921,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05347487958414373,0.11818215810873113,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.050853059264455394,0.10337453648995434,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.047656170639697085,0.09541571026373433,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04581097307845753,0.09419708525490995,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.038327337682544815,0.0892089237138608,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03291912243680803,0.07976459029066862,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02794569904110737,0.0677087022621813,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0263006895520367,0.059544925663741234,3
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.021815484191113243,0.05540049699288705,3
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.019884338589114897,0.049779892375120885,3
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.017506540946773935,0.0411949886692504,3
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01649721230005092,0.03651677553388827,3
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014392076507167794,0.03239118299305598,3
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.012434557650341066,0.027397770393135193,3
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011376629152365633,0.023296972867112475,3
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011203118563428892,0.019006145996090906,3
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 17, 2018 10:06:44 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (48)
Frequent patterns: 348
Rules: 147
Cached
Final rules: 10
Accuracy: 0.0
Best rules size: 0
2018-07-17 22:06:44 rCBA: rules 0
	 took: 1.97  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