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-27 23:26:14 rCBA: initialized
2019-02-27 23:26:14 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.7701273380713078,0.056305785906739514,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.7326014526808273,0.05552767480504971,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.6793440209394156,0.052437280054766104,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.6326476355694896,0.045354082593961835,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.6043527716784436,0.03938938578501192,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.5521933142509342,0.038032675557328956,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.5251017550530558,0.03289106046778088,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.4478670739713886,0.03090313392151917,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.38954691149565085,0.027725209092030738,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.3427640948621867,0.023353275534926422,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.3085346595594937,0.02270734983975766,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.3048734250189209,0.02139176865754852,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.2562794294569121,0.017186412520511014,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.23338599547387143,0.017083117505685867,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.21731989548797978,0.013939866022349683,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.1986197460256221,0.01152363947918091,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.18117465563368018,0.0107404802632334,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.17923659767985925,0.01002153543880493,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 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.1581053744678069,0.008777821696589626,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 6
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12809881716088573,0.00863787250575489,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 6
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12195161743856511,0.008114680420295985,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 6
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10262317782370124,0.008032020871000854,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09787594754557907,0.006548258827520954,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09161548026694043,0.005387314456947786,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08693798974222244,0.004642807051764578,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07259925197850471,0.004574662965889362,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05859698171601235,0.004568736330933775,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.046912161517952966,0.003919662730841708,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04098229555602843,0.003717272065753614,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.038965900825392655,0.0036882799504924417,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03631164932410565,0.0034542191503117996,1
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 11:26:15 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-02-27 23:26:15 rCBA: rules 0
	 took: 0.53  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