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-03-23 21:37:11 rCBA: initialized
2019-03-23 21:37:11 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.2710439371931931,0.9697533266745676,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.25505421200424,0.9659231600790462,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2241213556045941,0.8800188600443011,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.21412395641853307,0.8760152604654918,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20856662780855958,0.8583539969396236,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2020392456449354,0.832096339444715,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19394065147042086,0.7267807681557034,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18147323305070723,0.6877006048963481,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14819040793902408,0.686031020727246,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13934855776614868,0.6313716952383139,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1380631511676997,0.5328914406150969,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12854435397879987,0.44312599083320026,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12386186219374289,0.4135803635085413,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12319967793867692,0.39570614150475925,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11579437587659613,0.3646380751385597,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1118816961151623,0.361010505583081,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09718157193824671,0.35977546031711277,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 12
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08301037230927102,0.30839110847819023,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 14
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07673508498380281,0.28574114106183285,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07452357927959727,0.24626667450690695,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06964483109826276,0.20592973676720053,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 33
Rules: 15
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05601753087624671,0.18376944416582325,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 462
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04580676235668018,0.1817509253251331,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 462
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.042753137476659424,0.16934597090428893,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 462
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03921578450909687,0.15728253284972338,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 462
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03569615366064927,0.1271249958135923,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 462
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03415507701832306,0.11391914398184758,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 462
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03250580568651528,0.09117961778261574,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 462
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02681631276955634,0.07996589310614681,4
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:11 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 462
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025814686553105474,0.07725779250841969,4
Mar 23, 2019 9:37:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 462
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02331193459738861,0.07436060186189077,4
Mar 23, 2019 9:37:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 23, 2019 9:37:12 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 462
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-23 21:37:12 rCBA: rules 0
	 took: 0.91  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