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-07 09:59:33 rCBA: initialized
2019-03-07 09:59:33 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.26306387507739093,0.42628298054523495,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.23932259177343812,0.34132493125947905,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19797780667808276,0.28700751904881133,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.17217692313245136,0.2796190664072892,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1460736461736418,0.23782240248516906,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12691708096883855,0.22709052895596787,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12541624095856488,0.2051226247231908,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10788180247433857,0.18930060037039537,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0890206397763382,0.16085462158233824,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08212486996359113,0.14451425025600786,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08074011728070743,0.12148278203959663,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06798744676795367,0.1144378022993672,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.061710162454190615,0.11404624663597737,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05761678160014436,0.10767327587369285,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04768252326084922,0.09813534336768445,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04555174589761266,0.09491253246063694,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0401377902734213,0.09332393472636308,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.033572207166796514,0.07857248842420249,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03052559958682342,0.06954226814854993,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029532081203543985,0.06024876421588922,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029410211602805228,0.054830328499575795,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028780337521651364,0.04419319927943901,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025065281341338282,0.03788427775482649,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021894679093514488,0.036136045927990953,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02148321920579295,0.034631294590771286,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01886424233549465,0.033637697266365285,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018534557257483205,0.029942292225399344,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01508644667164637,0.024026791598842103,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012203205929484207,0.02316438129604273,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009926538853463491,0.021559896458563432,3
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:33 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00928006354942982,0.020293722496104557,3
Mär 07, 2019 9:59:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 07, 2019 9:59:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-07 09:59:34 rCBA: rules 0
	 took: 0.32  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