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-04-08 21:40:35 rCBA: initialized
2019-04-08 21:40:35 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.831024821978927,0.6957635775136423,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.7471590073311403,0.5720703964533447,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.704755915903643,0.5694088115075062,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.6787251728530654,0.5383310082086085,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.672217786206654,0.48045086098672546,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.610567403577314,0.43889957348785463,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.5366014126484464,0.4209632446586507,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.5254034197920676,0.3806326683504373,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.5005654023131871,0.3656839172148847,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.42347323670671855,0.3242291898494217,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.38578156143145736,0.31209663444266145,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.3827401303667474,0.2787016697099311,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.3583808533672994,0.26620986406835506,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.3232606457624716,0.26338382533865734,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.26221345887877623,0.24741703662033726,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.25619276203484503,0.20771308382436765,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.23539771871546186,0.19813381413935513,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.23274966150558662,0.1850904520577891,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.19018561456036778,0.1731180685912575,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 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.15609705619884284,0.14635102650160323,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12692052714435076,0.13398500707253758,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10758582874225961,0.11487324174829244,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09363176975574651,0.10120913608494037,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08916737753914399,0.08338533433904796,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0744581560504225,0.07063415057105683,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06646884033464809,0.0641095855449928,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06519762489002467,0.05962352444587545,4
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05836117167606331,0.05767468383670252,4
Apr 08, 2019 9:40:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04902897287776769,0.04865168952286141,4
Apr 08, 2019 9:40:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04770668494148977,0.04751385870846439,4
Apr 08, 2019 9:40:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.038908694522378856,0.042159888178564836,4
Apr 08, 2019 9:40:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 08, 2019 9:40:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-08 21:40:36 rCBA: rules 0
	 took: 0.9  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