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-04 21:38:57 rCBA: initialized
2019-04-04 21:38:57 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8026645268116488,0.5782981929013713,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.6875101071084795,0.5370505300548364,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.6394942539490271,0.5109500743339412,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.5739463573436796,0.4774967857046094,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.5445464164829744,0.4571774244618404,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.493291448211993,0.4365541993505362,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.4683215956750194,0.42546063224647335,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.45623105358300453,0.4036737672965087,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.3930581425038667,0.3794811983478646,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.3198882058729445,0.3506439500506738,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.259382250198437,0.3422492163050066,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20919118163296008,0.33638189162973686,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.19988651159899176,0.3152223202503112,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.18253945587754916,0.27635575526495515,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.15199002832612465,0.26584763898083996,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.12891036932192174,0.22793387987653518,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 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.10378438064046935,0.22723142753214384,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 19
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0946105138424569,0.205379940459765,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 19
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0902140630526584,0.19254550019691524,1
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 19
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07643566741522477,0.17779409797384696,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 19
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07595437776211868,0.15091444614682034,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 19
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06374817167699023,0.13279064989506056,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (19)
Frequent patterns: 19
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0583672378824208,0.11503003570286098,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.052366308247407935,0.11325723378597657,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.043936623783623036,0.09673996744012564,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.043491678116555646,0.08709771259420115,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.037373091967306454,0.0788058930910473,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03681699672990301,0.07540752315453848,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03007536359027492,0.0676575909116383,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027861336347997225,0.057610968156822685,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026927346079601712,0.04631298407519828,1
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 04, 2019 9:38:58 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-04-04 21:38:58 rCBA: rules 0
	 took: 0.74  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