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 21:22:30 rCBA: initialized
2019-02-27 21:22:30 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.94173990733447,0.7377235925334557,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.8904848622243111,0.7302401581441683,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.785175294932005,0.6427609345546641,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.6959887930396869,0.5234846947108296,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.6347348095132095,0.5114966911403147,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.5925776610684477,0.46442600703868603,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.5918697307174038,0.4108191631347386,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.4955561750356805,0.34494016599419736,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.44758658593140355,0.31555204260925773,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.3739823189805908,0.2824061008348261,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.3359951708915673,0.2819472395868653,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.3299066489248609,0.27703642426794706,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.2888067636882034,0.23862324674404506,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.23135637393840983,0.23549127384388563,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.19481438327173375,0.19686510657496606,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.15793660223199207,0.1827839685232593,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13486188034309354,0.166270337085761,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 7
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11267257644740673,0.13818122751747605,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09106597295034917,0.12167242115463432,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08100038916916501,0.10159679138943631,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07153726706789164,0.09744402007745222,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06469506442741152,0.08253983655502062,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.058887173267865585,0.0686596783476901,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 16
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05541348529739951,0.05975803776024894,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.046070573643271474,0.05289761768329326,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.04322834985103485,0.04866448743206887,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.035044744269046406,0.04765001248590012,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.03239535244084373,0.04272416001088682,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.030623107739602213,0.03644523212944188,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.02892288379423421,0.03516455937921973,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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.024671347792366346,0.033394235418244045,1
Feb 27, 2019 9:22:30 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 27, 2019 9:22:30 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 21:22:30 rCBA: rules 0
	 took: 0.54  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