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-11 11:42:47 rCBA: initialized
2019-04-11 11:42:47 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.39920694864866557,0.4888742834783526,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM 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.36065434479189057,0.45105458900855827,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM 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.3163431250578418,0.3943112345103644,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM 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.26879018857231746,0.37701825796082467,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM 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.25807010117532986,0.35875721536799166,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM 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.24468491084901275,0.30993105294931855,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22502074607906275,0.2700775663930428,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM 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.1902026431716489,0.2528276356533756,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM 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.17165506437925906,0.20896226740124127,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM 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.1591034608312476,0.20006197147493002,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM 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.13078422445044396,0.19854999614812505,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM 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.11169577380537436,0.18267606393846117,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.109886363720345,0.1556908238846796,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09454059731775366,0.1421076436982701,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07607503330490929,0.11440908257564437,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07422802902763519,0.10018796308983659,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06333365554611504,0.08151103390432528,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.060235818951554054,0.07630690534777614,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.056603648889360744,0.0750952159404811,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05082795900917118,0.07079588491738328,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0413585978081697,0.06317329514762898,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.038402022564923144,0.05065726756250889,4
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:47 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.038018039864552926,0.04905839579526206,4
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0374128259063599,0.04348382174965276,4
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03427057072614316,0.040819235878832724,4
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03337896557295123,0.0381387981431887,4
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030667157295628456,0.03748685525788269,4
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02795148325744937,0.033186559179928785,4
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02585624488647123,0.030268176739729244,4
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02404094196336213,0.024544331661047095,4
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020079561155987125,0.022030695997338482,4
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 11, 2019 11:42:48 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-11 11:42:48 rCBA: rules 0
	 took: 1.08  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