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-04 00:27:17 rCBA: initialized
2019-03-04 00:27:17 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.10917093116197318,0.40981166592654183,2
Mar 04, 2019 12:27:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 28
Rules: 9
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09827951278275346,0.3557947893508505,2
Mar 04, 2019 12:27:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 28
Rules: 9
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09442754515442447,0.29088962013710423,2
Mar 04, 2019 12:27:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 28
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0897945009982562,0.27769963307916173,2
Mar 04, 2019 12:27:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 28
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07812542179817807,0.24369780333526342,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 28
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06307011285221381,0.2436007653668719,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 28
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.057004972641519505,0.21235931570762592,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05057558686439231,0.1816522670375467,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04365312316822145,0.18049684169941707,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03773612580328193,0.1582119287019823,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03400919387916801,0.15061358161566174,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03381438678801628,0.13697937301069685,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03307252545217603,0.1368972134909641,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028046559257588803,0.13160644663543591,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02601314865658659,0.12753607655765886,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023932479376032448,0.11199141525951878,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023312444256528245,0.09396872041362803,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019914192516597002,0.08858560209335659,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018371788713751617,0.08437644345664348,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018001948960846184,0.0835316153478912,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01778203600922862,0.06976782638024842,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014956306564044659,0.05772209725854449,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01395926701794946,0.056233150220082656,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012007279085547346,0.04773767657915449,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010114737042829272,0.04512202212061128,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0099383776741079,0.042225761956767,2
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008530821648448664,0.03854646693804078,2
Mar 04, 2019 12:27:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007834740396541239,0.0326128189476792,2
Mar 04, 2019 12:27:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006276780020178828,0.031449398078659214,2
Mar 04, 2019 12:27:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005126440790818172,0.028794883146278656,2
Mar 04, 2019 12:27:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0045610532454476195,0.028327415904825345,2
Mar 04, 2019 12:27:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 04, 2019 12:27:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 212
Rules: 61
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-04 00:27:19 rCBA: rules 0
	 took: 1.58  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