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-25 21:35:48 rCBA: initialized
2019-03-25 21:35:48 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.5735180185341505,0.8369809956842892,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 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.48776003527021405,0.8216129122795373,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 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.4852504206560273,0.799408074734751,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 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.42005094844560525,0.6474797881153666,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 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.3551093997484862,0.5298548958735605,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 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.3417817176005114,0.4707919431694904,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 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.3247880145466304,0.4396744716710781,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 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.26395574055539167,0.43766593711883783,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 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.2576142382389011,0.3654525413077203,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 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.21465974085206901,0.355483022514595,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 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.1962598905646445,0.32736187171027975,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM 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.18858219647410207,0.28959666404274287,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 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.16436303834618454,0.28580214839493906,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1556734973091654,0.2432297820732499,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13505036545246507,0.2113891439131775,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12729012521124136,0.1893932120427569,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11178353440711727,0.18054533817940566,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 15
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08981707563690493,0.15889418428041374,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 15
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0730890465618991,0.1310416232995719,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 15
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06227150835334957,0.1306180728267106,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 15
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05657863767939126,0.11245093552585056,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.053510703192295034,0.09018461544942073,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.049161513465060536,0.07912849791605198,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04302115513965336,0.07298490148810528,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04182671008700664,0.06015900513501952,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03733753927237562,0.05046418688437283,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03351587313190056,0.040448783248663606,1
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02695714620027945,0.03557292876818977,1
Mar 25, 2019 9:35:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02610040992840292,0.0324497788650461,1
Mar 25, 2019 9:35:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023504603365388052,0.03149603649734284,1
Mar 25, 2019 9:35:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019807211724598556,0.028469159398483084,1
Mar 25, 2019 9:35:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 9:35:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-03-25 21:35:49 rCBA: rules 0
	 took: 0.66  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