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)
2018-09-05 10:23:06 rCBA: initialized
2018-09-05 10:23:06 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.12811242501641296,0.06461361905425456,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 12
Rules: 6
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.1108578401067214,0.06220554112679999,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0925780602231663,0.056890721309471155,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09205891919015555,0.050413095296940505,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0883936863329807,0.04432181429828139,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08486551968214869,0.042652255514099804,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07000052108068029,0.04187631884259256,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06265580716720807,0.04047459114572182,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 34
Rules: 15
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06009067913665465,0.04009188657871711,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05472436718555658,0.03606844319574997,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.047893605747415184,0.03171912871589573,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04682221277394634,0.026519818742957238,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04223775489833279,0.02632183291758899,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.034607866785787304,0.024989527425958294,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.029700950004243488,0.022974730464765506,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.023805239713309292,0.022358373057691505,2
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:06 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02246647124626089,0.02038470826832126,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.018595221072444438,0.01929165900209524,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015822443823459372,0.016979158164291876,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014422393249108986,0.01637821262957713,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.012113044150908279,0.016313043022400015,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01191872033983561,0.013272225972155485,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009655016507450365,0.011886242835162937,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007889623490958056,0.011839847321618207,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006360559526895331,0.009852926301168921,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005710612206682802,0.009656503826218153,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005390241336511521,0.008273683173889854,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004675661544961137,0.007396158546225607,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0038003183701167727,0.006055370895526708,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0036535161607416746,0.005897105346637138,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002998648837316872,0.0051556828762221035,2
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 05, 2018 10:23:07 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 182
Rules: 50
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
2018-09-05 10:23:07 rCBA: rules 0
	 took: 1.48  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