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-25 00:04:29 rCBA: initialized
2019-03-25 00:04:29 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.4246698142089702,0.49468200826665043,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM 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.37472217007823366,0.4470553355031714,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM 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.333634859818001,0.4059806214280486,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM 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.26963391555146216,0.38726605660403696,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM 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.25335679501555497,0.31173615982669944,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM 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.2437300764809794,0.2554025870113248,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM 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.19621913675398384,0.24550193616171984,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM 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.17842392658532402,0.22704070695658682,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM 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.15438576129419515,0.20820930535269278,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14421037199343983,0.17803225605173278,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12412968661285119,0.14277264086125496,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11580216684571705,0.13836964880064032,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09582090411994436,0.11511491983589782,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08597940412547604,0.10483941621743503,3
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:29 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08224680225361163,0.09001250545110452,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07010917248848435,0.0752786066282132,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06284455194479356,0.06450113204964214,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05999905755326172,0.05898993421373655,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05694636732527358,0.058808701738195385,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.053615563531516676,0.052068359600648054,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0488343485914836,0.047348737071730554,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.042644229836136305,0.03835952593121725,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04055693063210841,0.03540274901850064,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03698622707439411,0.035147442979804794,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.034649786295142974,0.029252826577304127,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03254479780823986,0.023599423794843075,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03148071504930521,0.022058176744964637,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029366643292657774,0.018164605538221443,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023633952145747993,0.015703219438194315,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023467889929623197,0.012657547685148512,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022598273789324937,0.01202525067939699,3
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 25, 2019 12:04:30 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-25 00:04:30 rCBA: rules 0
	 took: 1.07  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