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-10-01 10:37:50 rCBA: initialized
2018-10-01 10:37:50 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.03930175292465321,0.4326773252487036,1
Oct 01, 2018 10:37:50 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:50 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03765783345356369,0.41599874613626087,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0325845792005031,0.39348338018971807,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03244189348404826,0.3274310169460512,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.029705605274529936,0.27958560540067545,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02654575556367987,0.2626955304767864,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02573113693615277,0.24931041910436216,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.023179159151641822,0.20689008624987845,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01968064757460953,0.1880959469720294,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015879106023481374,0.17766664626566234,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015431303750312077,0.17389755996302497,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014799583103489234,0.15078603231624949,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013105847528529304,0.14572760452952635,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013096348452011415,0.13709487688593058,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011973642336248667,0.12269479932820747,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010982286199320696,0.09904003802642582,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010787177288762207,0.09790543317515335,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010190669255767304,0.08060544494922364,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010141538240289547,0.0800551977954704,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009606959274787396,0.07845857605139642,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009282176148797953,0.07024831185865103,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00843827800657482,0.0610854408160123,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008369345459143411,0.0567999213463604,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007135888285435909,0.046805985266757076,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005762852986733392,0.04438332262720005,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005110575245987023,0.04375493323956303,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00501708053465575,0.04192112681173247,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004185976664330709,0.04015201947352966,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003526472364760537,0.03758399672029011,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0030117492174762104,0.03122631197652759,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002940486324253513,0.0271313161612184,1
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Oct 01, 2018 10:37:51 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2018-10-01 10:37:51 rCBA: rules 0
	 took: 0.95  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