Running examples in 'rCBA-Ex.R' failed
The error most likely occurred in:

> ### 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-21 00:23:02 rCBA: initialized
2019-03-21 00:23:02 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.166673844040523,0.9243570002495631,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 7
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1651839608240526,0.8531182405015917,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 7
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14511476435909565,0.6937942329285606,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 7
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14015767979027902,0.6549424870681368,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 7
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12633562092729686,0.5401421731248349,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 7
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10251168544338189,0.46978080101082853,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 16
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09355801324354672,0.4241955453862326,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 16
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08244397949000638,0.40826101761311845,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 16
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07429102859878983,0.34757396903990273,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 16
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0658676744982528,0.2964329740713476,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 16
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05874898568913419,0.2765048197715909,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.049840036204446846,0.26343310402941794,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.043134010189493026,0.2341940523132049,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.039446724134539826,0.20147051754399342,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03550550285832322,0.18136941779542845,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03153897425967034,0.15168654254875327,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027650286364333143,0.14380626664627963,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0272714062747495,0.13688080926958926,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026271096772694267,0.12281689558261372,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023204210631016416,0.11514675493051582,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02173418456314525,0.1001038586468168,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01932764487590481,0.09041189927840924,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019150601757039764,0.08547629431370989,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018257960246256148,0.07993589383396255,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015229999119890177,0.07241748331315474,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013557782749624058,0.06743374470299858,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01329489464935876,0.0669469148561452,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013107764570793927,0.05918456691390455,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010569617099858684,0.05683599347180382,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010105711993415655,0.05624501311490984,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00969768310089741,0.05474284914522244,1
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 21, 2019 12:23:02 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (53)
Frequent patterns: 53
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-03-21 00:23:02 rCBA: rules 0
	 took: 0.19  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