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)
2018-08-18 14:18:47 rCBA: initialized
2018-08-18 14:18:47 rCBA: data 20x5
	 took: 0.02  s
Evaluate: 0.023069383422423484,0.7285338345583474,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02243359963760138,0.6743752223697762,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.022324062320874694,0.6465149848049105,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.020927929191586453,0.6092259953245559,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.020823031846580336,0.48957258109834767,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01954342776506407,0.41993086330835466,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.017586047036420516,0.39419828353747427,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014435827212964011,0.38499432420761615,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011566740101499344,0.34395160660390156,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010793273333576013,0.2792420332993643,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00986407892525775,0.2791648937023722,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008192780129276038,0.22372712443829085,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007680869585335125,0.19110833706704652,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006469737635792621,0.16697369201981818,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005651274544309726,0.16083205550471277,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0053818416210777665,0.14792886345652348,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004902796899428005,0.12444555689069259,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004382161333601771,0.11000451740375385,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0035636228649526167,0.09611331192556166,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0035267993447741118,0.08346924732278657,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003290417338166151,0.069345824602532,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0029104411511523204,0.06669290081456312,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0028098774874827726,0.054970887826601034,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00255408646826572,0.04660338475310647,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0020597007669448026,0.04363033660926549,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002044260273582594,0.03620234658563084,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.001688879611075057,0.03320018126085063,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00168690520810405,0.030262915806139334,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0015035571982209691,0.025688819388442405,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.001346793350555732,0.021056629292947507,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0013094744627784513,0.018979476675045123,1
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 18, 2018 2:18:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2018-08-18 14:18:47 rCBA: rules 0
	 took: 0.14  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