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-04-16 01:19:21 rCBA: initialized
2019-04-16 01:19:21 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.3674578662216652,0.10123136863970605,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 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.3503194516768291,0.09693258698068255,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 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.30448042111130286,0.0802589508935324,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 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.2580598695005841,0.07336764718147347,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 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.21316563268850622,0.06447124823576368,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 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.1773378988143655,0.054344057038387295,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 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.16955134654322002,0.045531904022452434,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14713066379373096,0.04429275677758867,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13468263739385045,0.043579996606681444,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12478433915018529,0.03753920233593916,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1033231605576745,0.03578710650816233,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (19)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09468108934600174,0.03174371032487062,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (19)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08175870221399341,0.02918056228270405,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (19)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07688846688174988,0.02866447743261112,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (19)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06569796962568869,0.02866346396232643,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (19)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.056052242405644076,0.027073874570968597,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04795144261738075,0.022795380898346075,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.047204520134731795,0.02105757048882995,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03959323617112245,0.016962854621131167,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.033020058638995604,0.014217251875287773,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.031204690650237475,0.011995643821556438,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028242025061895916,0.010731771514049068,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02442593603706379,0.008699883201945565,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020535045772139673,0.00786311460614145,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016680861695202012,0.007556007453008005,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014268307914324038,0.006565609676356658,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013842791483102516,0.005313048652631423,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012626531028112465,0.004263356929709576,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010569294409332679,0.0038684764361753624,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010426905115802024,0.003393424195009967,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010276071075414001,0.0029404954292860906,4
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Apr 16, 2019 1:19:21 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-16 01:19:21 rCBA: rules 0
	 took: 0.33  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