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-13 21:36:06 rCBA: initialized
2019-04-13 21:36:06 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.40334368011604715,0.5177671544465466,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3330172039824276,0.47031907584197363,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2935904831550017,0.4047213113450928,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2861235641755743,0.35351277085283717,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.28072745763000784,0.3423265669729271,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2705126484360838,0.3400303119637365,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.24655774096686375,0.3078633118014157,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20402823511403678,0.28601247236510935,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1944806649973369,0.237836815165011,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.17528588345982096,0.22933108853427286,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16893287607973767,0.20091134394888566,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13785290307401135,0.18622444353144052,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11488505198995498,0.16378440518403845,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10992067513920163,0.139219653033588,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10288061833479158,0.11488776378584294,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09061418736427208,0.10686641151834571,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07830872336200134,0.08995656634975484,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06597136584523597,0.08219977597369696,4
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06224610406064847,0.07444797194805997,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.061013387108918314,0.06085559108187677,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05353758875192525,0.056597650627689476,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.047152972235545924,0.049368251537104155,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.046866201657679095,0.04857597809979291,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.044863965714186126,0.047156062714171665,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04187462812820986,0.04513436077653626,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03985636444771179,0.040193040412371095,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0338226050390425,0.034389690046808016,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03058041723468909,0.033392664347058225,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026602637567458665,0.029922358492631425,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.024406275031686617,0.027753103057837812,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02271393605669559,0.023626530534549973,4
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 13, 2019 9:36:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 456
Rules: 225
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-13 21:36:07 rCBA: rules 0
	 took: 1.43  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