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-12 03:36:40 rCBA: initialized
2019-03-12 03:36:40 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.5218174582038853,0.0980309362343127,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.41858744043688667,0.08704667610557244,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.40601396084651226,0.07397716788628067,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.3399972357728915,0.06618169872682811,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.31601292932197544,0.06201467577973646,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.28550163146946655,0.06111984409467782,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.2778767521725361,0.05804847824324262,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.25714900820889564,0.05206343725267603,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.24193511970607945,0.05130425270609265,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.1984900288769932,0.047853610811173106,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.1704600560568002,0.03985098201105849,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.14335691821421606,0.037982261653298106,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.1303777118706771,0.03143367376342854,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 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.10893037777368067,0.026841793426344625,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09304617323891869,0.02220211908389445,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08425522780338066,0.020701751744892298,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07160643843683132,0.018816493504050427,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0695324321306774,0.017550892750883937,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.061317937645630614,0.01718674601669312,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (15)
Frequent patterns: 15
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05776235477588253,0.01674695663940183,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05639360691206241,0.016134002934062832,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05296321516043784,0.015827975293855285,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.050480895129736386,0.013318286292386022,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04576913283182665,0.011275054129279849,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04272038046953304,0.01006103644094174,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.034859875861692785,0.008087274373495702,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03223267195975119,0.007391191487267068,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028144138922249286,0.006593516204920192,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027406570888861153,0.005918863998880998,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02493340953192464,0.005096933069826381,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.024906555234884536,0.004352603733519823,1
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Mär 12, 2019 3:36:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (54)
Frequent patterns: 54
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-03-12 03:36:40 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