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-11 21:32:37 rCBA: initialized
2019-03-11 21:32:37 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8420500582922084,0.8240008754123485,2
Mar 11, 2019 9:32:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:37 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.7743235197416505,0.8177695520847483,2
Mar 11, 2019 9:32:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:37 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.7386876597794692,0.8118661610636025,2
Mar 11, 2019 9:32:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:37 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.6648555924687342,0.7062205338903316,2
Mar 11, 2019 9:32:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:37 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.5320822486640565,0.5767633652090346,2
Mar 11, 2019 9:32:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:37 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.5265184429478399,0.5550617257625505,2
Mar 11, 2019 9:32:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:37 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.5177705940107455,0.5024519620488109,2
Mar 11, 2019 9:32:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:37 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.418985769399843,0.5010706959849167,2
Mar 11, 2019 9:32:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:37 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.35026503326793296,0.46540617963039516,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 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.33924257109042155,0.4140462386149486,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 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.32885874478551524,0.37738670076550723,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 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.29041683469777285,0.3157696725657088,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.25243373381679135,0.29046264553044054,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.21051286171933994,0.2668376765456888,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 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.210074146623727,0.22483836277789238,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 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.20746751905966754,0.2053069235399241,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 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.16766453210210083,0.1817977649631608,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1663679326716868,0.17425056425791105,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14046697382204482,0.16396073208568532,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12169252880001497,0.1451532987924523,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12046141510589957,0.1273191280390894,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09688306717983969,0.11162069929863579,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 32
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08757755264888863,0.09334227223814716,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 32
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07344702074621998,0.07609604891993019,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 32
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0722008839183643,0.06328560386447331,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 32
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05906776191044251,0.052333197976009875,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 32
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.058042407811292517,0.04658283325955046,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0514838741294131,0.043939087464473316,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04829741588446499,0.03945048684930697,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04764545225625498,0.03420363278098499,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03979647061108739,0.033458094187493674,2
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 11, 2019 9:32:38 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-11 21:32:38 rCBA: rules 0
	 took: 0.87  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