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-31 11:09:11 rCBA: initialized
2019-03-31 11:09:11 rCBA: data 20x5
	 took: 0.02  s
Evaluate: 0.8109914535326076,0.7559077201520171,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.7392700567042042,0.7031918658620302,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.7265037722787624,0.5919176786711392,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.6690135734269298,0.541081471666037,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5905971638718738,0.48409896268177105,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5176348407892597,0.43669476439944943,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.4312630527892417,0.39508294267638505,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.354138109642526,0.3737742028942651,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.32188956762947246,0.33623145846158453,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.29860750758332666,0.2920413744120686,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2659623302696497,0.2677351511765719,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2611571040996853,0.2583368439844853,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22100642874589096,0.21172738109296566,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.21862004095540732,0.19214751932733581,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18523298601652216,0.15913319900501371,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15132537839447402,0.15372145603952955,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13021050485760668,0.12745761089879892,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10987238205065435,0.11704329452346406,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10307920537307289,0.1101779315571011,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09739669858744227,0.09351257502242896,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0897208540254257,0.08313314487169743,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07275852440803561,0.06671820315650848,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07003039030079207,0.05742718320664857,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06814327191387762,0.05734895541354985,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.060134876779075086,0.05264446284116542,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05914006114638115,0.05212383419663578,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 35
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.051683863228805506,0.044668554087767064,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 370
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05118670219478533,0.0359813033314148,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 370
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05066430729843317,0.03331786601741371,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 370
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04236674448415728,0.030135173512626883,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 370
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0409560880943979,0.028683774759927796,3
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 31, 2019 11:09:11 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 370
Rules: 157
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-31 11:09:11 rCBA: rules 0
	 took: 0.2  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