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-02-28 12:56:16 rCBA: initialized
2019-02-28 12:56:16 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.026748666037515134,0.0867683554455041,4
Feb 28, 2019 12:56:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023667248702881716,0.08545901322874777,4
Feb 28, 2019 12:56:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023306378792543034,0.08039021159173751,4
Feb 28, 2019 12:56:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:16 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022368355462268796,0.07454419735976962,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01926839292832786,0.0610421088197949,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018841644133146332,0.05732751148353775,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018453392514658523,0.05368671741090362,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016711591386941012,0.05326991260698629,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013525048630071462,0.04513547307589085,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010899209007587417,0.03662778290963434,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0098239166580673,0.034522586531858086,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009187104144314697,0.03381883291735434,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008753106477314688,0.03008912157316175,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007876621766703033,0.025349042062741866,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0064131741699745195,0.021710241488221635,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006341694823549229,0.018355063248480744,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005342624082155061,0.014709793722829448,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004750870897414094,0.014061540945201923,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.003970072427727547,0.012749224873544112,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0032078139624788287,0.0106408833943332,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002711302633416858,0.009559168567570163,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0026380978815390855,0.007718054528408925,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0022402965709156907,0.007379417478885846,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0021664445472972895,0.006332341845495636,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002150576368364583,0.0060059721029931045,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002065711652797437,0.004893500362113753,4
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0017630785434946529,0.004139817564467893,4
Feb 28, 2019 12:56:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0015018187356202822,0.003448499053785572,4
Feb 28, 2019 12:56:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0014654146377350583,0.0033246284142399675,4
Feb 28, 2019 12:56:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.001462484693883655,0.003306432868068798,4
Feb 28, 2019 12:56:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0013569664210759066,0.003188854354472412,4
Feb 28, 2019 12:56:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 28, 2019 12:56:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-02-28 12:56:18 rCBA: rules 0
	 took: 1.49  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