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-30 21:37:43 rCBA: initialized
2019-03-30 21:37:43 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.7879552811772679,0.38425954088215897,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.7721693071933924,0.3709901198184428,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.7582745304549885,0.35433546984034975,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.7184849647829403,0.3439318109931823,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.5782836789493635,0.3364094866586169,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.491440136322985,0.33570043429593405,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.4161880805051742,0.32358841535825084,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.38413083780028645,0.3071917912207405,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.3456169453277303,0.2650759191622432,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.32323308316843985,0.25855006124858787,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.2729567683188169,0.2553825311821026,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.22858005661856584,0.23689722161358806,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.18502682058381895,0.22575246335971755,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.16576158808786096,0.19891667141994548,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.1611763360576129,0.16923366251142005,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.13795701183264855,0.1518542215203999,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 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.11113051780924237,0.15045080133029162,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08920706008100385,0.14850736835324,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08372008380217705,0.13326382551279967,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07211018392914822,0.11063516022684512,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06033832123517125,0.1033139968465507,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.054899387597182714,0.08345826798632983,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05400419453161761,0.07515009418783652,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.046799429970446345,0.06867547474073568,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04636324041512506,0.05777382521776078,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03969786537726386,0.053416216248338005,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.034101058368590814,0.04731773184918281,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029355038250193737,0.039115794065615266,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025544213657645004,0.03330286866306186,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023419481232770326,0.030985506491979835,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02085353262181837,0.028979390726960243,3
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 30, 2019 9:37:43 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 373
Rules: 158
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-30 21:37:44 rCBA: rules 0
	 took: 0.89  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