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-28 21:35:52 rCBA: initialized
2019-03-28 21:35:52 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.32119570510557593,0.8876496220845219,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 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.2860690816323651,0.8530617023723995,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.27280615690616783,0.7810384061442774,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22678018693863997,0.7421410039581531,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2093868876058725,0.6745223209783813,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1875375041617966,0.5658153899904738,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15978935890983037,0.4770195811494882,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13008018805814545,0.44066546186518357,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11782318231413899,0.41526208368920914,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11299624485476112,0.40773833722444186,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 8
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09339332061206512,0.3383425516179811,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 12
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07509162289009026,0.2736970586887335,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06099034187794188,0.24747789737603962,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.054591292172202065,0.2347657538242402,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.047991523560699204,0.20058609382347578,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 58
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04121653283445489,0.17558474325466764,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.040574191600859934,0.16760467203209842,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.032934048931581854,0.16745459631693366,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0269308127478309,0.1512566476695751,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02168842771260647,0.1279603965083124,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020200831659994416,0.11146853487554348,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.017100176708831554,0.0930101767346681,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016650819898094794,0.08394215727971259,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016037764783445718,0.0684069842245019,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013026624163259533,0.06033675694527239,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012423536958263322,0.058571600574691296,2
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:52 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011076021282638713,0.05387070017350667,2
Mar 28, 2019 9:35:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009438436239263387,0.05313264934354797,2
Mar 28, 2019 9:35:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008072414981297897,0.04441683919486853,2
Mar 28, 2019 9:35:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007834779739061153,0.04366159237153074,2
Mar 28, 2019 9:35:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0069078031553603215,0.0363838969472818,2
Mar 28, 2019 9:35:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 28, 2019 9:35:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 208
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-28 21:35:53 rCBA: rules 0
	 took: 0.83  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