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 21:33:28 rCBA: initialized
2019-04-09 21:33:28 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.743856775693654,0.8775117974765123,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.6486735192653525,0.7563572802837575,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.5665212942262043,0.6183382273195882,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.530606784834441,0.5271739360045363,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.4362170662701103,0.4872780205210128,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.38688425289800904,0.42740108576914615,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.35400603917820694,0.3675472473235698,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.31630114340503357,0.32738737626746567,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.29765190188052115,0.30879428890650784,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.28248127102784865,0.26655304832508575,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.26063815337119556,0.26354739178947145,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.2602947593637109,0.2151034376899659,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.225314589437995,0.177453300394302,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.22325152587701144,0.14858792563665518,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.18893436014772125,0.13150747204246113,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.16456725829883678,0.10540584095568523,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.16075205568857748,0.09745121202262778,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.14797860378392882,0.08135349488178362,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.14526798072432995,0.07049548723089417,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.13103954189899691,0.07007362049566478,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 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.11744544114271209,0.06670540570493812,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09581405727108391,0.05353319279538479,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09148033448271188,0.0525387671413956,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08169022175280796,0.051638069303731875,3
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:28 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07135889225489507,0.04523575444934558,3
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06827125374146335,0.0432736440614683,3
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.058385191954586475,0.03695652347263134,3
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0506321299288861,0.031229938807623297,3
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.047624920459937214,0.02576519856450023,3
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.039663039376794544,0.025655414156895692,3
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.032410970504633034,0.023990823601555647,3
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 09, 2019 9:33:29 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 377
Rules: 160
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-04-09 21:33:29 rCBA: rules 0
	 took: 1  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