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-14 20:01:12 rCBA: initialized
2019-04-14 20:01:12 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8172425477781833,0.9425685433650918,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.7626472872301091,0.8650356746523188,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.7174220790928425,0.7089344935827916,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.7125835897975096,0.7047993479420938,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.692968852336142,0.5712014178600042,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.6595210286319556,0.46582926013678627,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.5445205106391334,0.435304704352904,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.5397075395724595,0.36508928693862797,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.43620407688672136,0.310250520418039,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.38957357250567676,0.25986331679207614,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.3483327652430562,0.2590364353190296,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.30428766849331645,0.2202917038826979,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.26952890141823554,0.19004130064652472,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.23364512066398868,0.16386758161406512,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.1870083489488094,0.1335082511877471,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.1541332609376495,0.11496515064533905,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.14119415566975663,0.10374142324535242,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 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.11594957558870332,0.10159785164386746,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10947553511424543,0.08415205606874368,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09346428263667114,0.0683781699293814,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09195373370568928,0.061416366149981895,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0866008218842864,0.054876034382126807,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07419317114910037,0.053362159202176906,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07109354574118623,0.04757559222083503,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0655153192738278,0.041068026841928285,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.055883510158967774,0.033126153067306006,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.051619943247424895,0.028103279981121478,4
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04399385944138024,0.02336348901816351,4
Apr 14, 2019 8:01:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.037326715509703394,0.018800913470962605,4
Apr 14, 2019 8:01:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0365245863580792,0.016293847474074755,4
Apr 14, 2019 8:01:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03339752258469944,0.014737597088397955,4
Apr 14, 2019 8:01:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 14, 2019 8:01:13 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
2019-04-14 20:01:13 rCBA: rules 0
	 took: 1.03  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