Running examples in 'rCBA-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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-09 11:37:25 rCBA: initialized
2019-04-09 11:37:25 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.18986688197766433,0.6316566195186467,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15315135922741877,0.5574108281382704,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12818598044643792,0.45965093460060136,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12303033261488794,0.3711268277695812,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11815881978536044,0.32997568794303755,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 3
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1124084593670848,0.32012564514584024,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 30
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09692212364920676,0.27766171091400027,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 30
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08068472679133401,0.25491344182052506,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 30
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07525303002126194,0.2543531651339766,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 30
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06271693808249287,0.2097059583425169,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 30
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05822873688945787,0.16961769713117256,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05736603068165487,0.1417942896711766,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.046100455483427116,0.13954757719454805,3
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:25 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03807690918980866,0.12956412770204204,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03247272865560617,0.12617001495801156,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02684031574048687,0.1037738070882751,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023350963850527304,0.08527240916453487,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020801956834109268,0.08052914933713386,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01744990907745217,0.06698001896354049,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014647369281928634,0.06269202053635947,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011916706077594858,0.051809421629755846,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011541319886749573,0.04217084570737267,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01065273461299036,0.0365155158394134,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010564148532634734,0.034991240678185584,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008846843033673666,0.0346356110552509,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008114733144153653,0.030137048179974195,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007899762775634984,0.024717158304259235,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007052257809728309,0.021786751776408597,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006921167985965473,0.020056084822816102,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006617182397576759,0.018454002045356105,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005675720878899436,0.01562611191045778,3
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 11:37:26 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 378
Rules: 160
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
2019-04-09 11:37:27 rCBA: rules 0
	 took: 1.42  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