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-10 21:33:13 rCBA: initialized
2019-04-10 21:33:13 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.9978629930266619,0.718657207764448,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 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.8655959320714419,0.651678185887154,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 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.7208228184066656,0.5413182874056037,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 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.5940005526752463,0.4455377526544656,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 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.5231232110671715,0.4044343964028444,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 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.5167883382096148,0.4001577429701545,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 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.5071905618726633,0.35489227407499513,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 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.4689321795678323,0.3133826678238239,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 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.4041621219625603,0.2690604592134456,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 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.40181752319295005,0.25441107511038336,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 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.3364856585752004,0.24458485630952956,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3221391877242322,0.21776085032955345,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.274760428377265,0.18052774234340904,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.24148897888052684,0.15129982858216198,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.23064828740391868,0.13784234183283567,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19451686038947147,0.11350002840622776,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18321443481732125,0.0945399757283361,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1738807492897632,0.07682059295067027,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15501921724590614,0.06821531706593827,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13299217565480137,0.059956546319988105,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13117205145642064,0.053149136531514984,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1105732667903884,0.05273174398534022,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10118864646420256,0.048885673071148106,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10106346196498868,0.04868432304753181,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09740989555601498,0.03897167392662876,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08349667247962599,0.0378659608981264,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07385085858672022,0.03360741622235808,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06545076271359175,0.030800388460707803,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06356923173968641,0.029920877698652718,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 36
Rules: 17
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.053434123387661105,0.026889032015400965,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.046280871790571644,0.02551977797570671,4
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 10, 2019 9:33:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 458
Rules: 226
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-04-10 21:33:13 rCBA: rules 0
	 took: 0.84  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