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-10 10:39:26 rCBA: initialized
2019-03-10 10:39:26 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.771646587633341,0.36908418075775873,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.7372876916846827,0.3361478610058781,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.6034522941993632,0.33307070490255286,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5321649472772227,0.3249421847797447,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.47657766369746357,0.30727429572164433,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.41176748865537566,0.2994784539496148,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.36697853917877143,0.286451414503667,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3581460832583492,0.2526134089936938,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3077582972957788,0.24932200791044684,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.27988065372475107,0.22836097639019268,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.24735593535419984,0.2083878687229389,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.24717960049519488,0.194655522467051,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2107187738606331,0.1885351985363962,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 5
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1816308104039421,0.18147983761225212,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 5
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1584953509050781,0.1496184471783915,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15710513012328214,0.14337361129766657,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1363807448346511,0.1417674224746216,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11656326406331813,0.13274378890804014,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09771871474109303,0.11342202105788006,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09428104507437535,0.09271266709551969,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07824220397777608,0.09059707923303889,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06734493266592693,0.08595612164675354,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05886919627068339,0.08159579401355041,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0547274627592118,0.06830732332635683,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.053576160364744094,0.059841664151280165,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.049387375258911535,0.059423992051445114,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04575163140723234,0.0590371605499595,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.039704786130912606,0.0550245109336684,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.036741861181171474,0.053618812124984816,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0328727525203263,0.0484918793434121,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02944856467438032,0.04673379485841373,1
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 10, 2019 10:39:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-03-10 10:39:26 rCBA: rules 0
	 took: 0.17  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