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-03 12:32:05 rCBA: initialized
2019-03-03 12:32:05 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.032188979612974955,0.8630450371078409,1
Mar 03, 2019 12:32:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02796457457314693,0.7806776084664322,1
Mar 03, 2019 12:32:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02658626229832024,0.7612641649429186,1
Mar 03, 2019 12:32:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026364888572100155,0.7155393045884193,1
Mar 03, 2019 12:32:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0231915969577668,0.6855280934256665,1
Mar 03, 2019 12:32:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02210987062667242,0.6303911004989359,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021931150108757267,0.5084817316333935,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02127855341485714,0.4403632383272146,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01784844746344253,0.40006774486232,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015650282185771615,0.326354224293445,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014220944092197966,0.29854005301801667,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013953815473004397,0.2793499767009944,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013457397776189647,0.27161522871876886,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011493350056596232,0.24740669246280747,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011453364156225125,0.21788743096773341,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010300045207733248,0.20432352614060462,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009127872655355184,0.17379265086078466,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007920516507917546,0.1521687421109112,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00754404393068399,0.14399661673109598,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007314499725445251,0.13706302158242112,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006706507607019418,0.11403646028999241,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006159235643313558,0.10231014419162718,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00530658899852622,0.09303218757070417,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004751824143440526,0.08306836928178746,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004177191644615856,0.0775459517516687,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0036025140697516626,0.06631306766298342,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0033013267442355116,0.06141150767265895,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002872113561986444,0.05833988072339444,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0023011199992507875,0.05036438593446233,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0018658759783820398,0.04216843901230005,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.001501232219265199,0.03431722374616647,1
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 03, 2019 12:32:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-03-03 12:32:06 rCBA: rules 0
	 took: 0.81  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