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-09 21:33:18 rCBA: initialized
2019-03-09 21:33:18 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8889642672473372,0.695370032016922,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.8100885532925857,0.5657081433434658,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.7813554875721327,0.47879721555205473,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.6826479602761244,0.4134599071390501,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.5617919661709312,0.3507479188558768,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.4719291217886641,0.30383164294005394,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.38360930698549994,0.28772124935833987,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.3743937626605279,0.2430520418208089,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.3410321720366023,0.1957585777391551,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.2882373958953912,0.17169563378820898,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.2353141557976284,0.1468607915304956,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.1904292261277832,0.12555669274108255,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 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.1752175376041526,0.11108873530517528,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16672062692283993,0.08961501962901851,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13593443350494952,0.07592911508418015,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10988127443428956,0.06621682397890097,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09009290064912986,0.06114501944522254,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07276442652795072,0.05254039555487338,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05897263257565275,0.04979285376908041,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.047893173573193705,0.044289650228171974,3
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04230142097003684,0.03679878064151153,3
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.039929971823442045,0.03458548514508113,3
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03796885745113908,0.03292622349715159,3
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.035245043413466695,0.030699394425567524,3
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0338434190541171,0.02683777416135928,3
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03160800252080688,0.026421483324751263,3
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030780908993635225,0.024956735371015146,3
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028107593231487763,0.023383452521226596,3
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025182770219325742,0.022938542094397926,3
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02380855162856604,0.020750462026623555,3
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022468612933266942,0.01905318855204482,3
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 09, 2019 9:33:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (50)
Frequent patterns: 369
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-09 21:33:19 rCBA: rules 0
	 took: 1.19  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