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-02-23 10:56:39 rCBA: initialized
2019-02-23 10:56:39 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.2692804065474884,0.46402436798876245,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.22125119042742605,0.372518545643405,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.18509394135802743,0.3055791191864433,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 10
Rules: 4
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.17358792450924831,0.27293989823064274,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 10
Rules: 4
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.15297828866584692,0.2604923725185506,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 10
Rules: 4
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.13166021715763224,0.24951697083027347,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 10
Rules: 5
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.10697827203778154,0.24081567534138906,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09058056601094326,0.222336221130641,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08077484724056104,0.2154165138057841,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07780528418454133,0.20036405313145456,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07253939560965772,0.18900909202042826,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07191643210742488,0.15279454486367505,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 38
Rules: 19
Cached
Final rules: 7
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05837191263971024,0.15092687915563366,4
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:39 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05051103878117794,0.12373207200070108,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04951566242125908,0.11567883523673675,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04030099770866005,0.09261617022609323,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0329971269057164,0.07429099271671923,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02775372642382547,0.06034074354660098,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.027437889909347344,0.05423158419891297,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.026154519958726002,0.050902522541651715,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.021585098187528573,0.05039362501320542,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.017743551252514835,0.04826766952323096,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016483290206339422,0.04632009178282623,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01579514263492566,0.039725895756660086,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013009262600657334,0.03615098381105806,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.012528434663807628,0.03495985780646144,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01096064193845976,0.034662202713005456,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009019178113667248,0.028782048270626505,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008876950317277883,0.024850027543849493,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008156100984543647,0.02148016366182415,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007424825997818071,0.020482237890447414,4
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 23, 2019 10:56:40 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 421
Rules: 207
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
2019-02-23 10:56:40 rCBA: rules 0
	 took: 1.08  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