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-17 11:18:07 rCBA: initialized
2019-03-17 11:18:07 rCBA: data 20x5
	 took: 0.02  s
Evaluate: 0.15218591613581234,0.8557792383092608,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15069448618223985,0.8134305606920452,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14701906868590373,0.795776518013904,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13568322666212096,0.7900531332030506,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1292071658425642,0.7019542194883417,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11501553470003778,0.6814152290578065,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 37
Rules: 14
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09805593923535456,0.6809552065780259,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 37
Rules: 14
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09030665374470898,0.6145501243663505,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 37
Rules: 14
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08589105128859993,0.5203337315865547,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 37
Rules: 14
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07427322083214905,0.4261341042816621,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 37
Rules: 14
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.072948261182508,0.3574781946581328,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 37
Rules: 16
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06200771705466346,0.30056443466672167,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 37
Rules: 18
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.057296300269794286,0.2908074244843606,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 154
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04898660507038875,0.26232241346899865,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 154
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04388410618430272,0.25633726691870745,3
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 154
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03757745518401361,0.22707140984288393,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 154
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03594455768314337,0.21312964951594526,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 154
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03289527684802602,0.18213369717390646,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029705240287120818,0.16932820267270876,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027665376619085073,0.153679655587352,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02360499511482853,0.1410490883634613,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020078020292425343,0.138088944349534,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01745946617796836,0.13238966527255183,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014780043732427634,0.1060558564640866,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013729415719215442,0.09331567850960502,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01117249903042727,0.08407934544827944,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010922785430706997,0.07562416347306956,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008821175956501708,0.06609969621900137,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007269374170897484,0.0626490548048661,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006140417984000305,0.05519342577970216,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005002409995111157,0.044381554043039034,3
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 17, 2019 11:18:08 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (50)
Frequent patterns: 369
Rules: 155
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-17 11:18:08 rCBA: rules 0
	 took: 0.22  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