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-22 21:37:05 rCBA: initialized
2019-03-22 21:37:05 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.9253703498390881,0.4249375328200511,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.8381043488647385,0.41171600230238176,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.7305509291010664,0.4039856388321735,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.60058733353388,0.4017710296392703,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.6000785697957803,0.33641436826879284,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.5750764741234071,0.3123609619999177,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.5048575148171549,0.3086015685652815,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.44064908650792545,0.2740006067036509,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.4027679777934932,0.25695373895413154,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.36003666425731246,0.21431910024211256,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.3067182656090527,0.18160423641610274,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.27824321629078486,0.1567098226719963,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.2658326981317124,0.14679724278836515,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.22213337152095677,0.12548789718838585,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.2012012358878262,0.10995946570666641,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.19660443247935488,0.09384187817514351,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.18176429510351622,0.08702850520295723,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.15169851540600393,0.08057151629155386,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.1504122771877422,0.07237756550169652,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.14685450282204965,0.06694852594751949,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.13539987375169366,0.05757182102705553,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.13535066723943528,0.05308416703883057,3
Mar 22, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:05 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.12049465987860253,0.04421598383084182,3
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:06 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.10036457388968098,0.04002824881213067,3
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.094707442643911,0.036010653951864084,3
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07680066873772307,0.030742822904442205,3
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07200441690583133,0.02526562858621142,3
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0707459391285097,0.022331928390507513,3
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06647946085716104,0.019031456948297918,3
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06458744765542146,0.016023466621983545,3
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05826048306032812,0.013064042384857462,3
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 22, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 380
Rules: 161
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-22 21:37:06 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