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-03-29 23:20:45 rCBA: initialized
2019-03-29 23:20:45 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.2628111364283032,0.29050019332802846,3
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:45 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.23145634793833167,0.25133470118417045,3
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:45 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.22160766346586638,0.2178996892074093,3
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:45 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.18723787322029303,0.1908481101885054,3
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:45 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.15306736626995773,0.1563572194415859,3
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1246224879662445,0.14164402292395156,3
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10702066893558153,0.11698435569665318,3
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08919587333484905,0.10297802800115509,3
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07393519952219416,0.08965665153442497,3
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:45 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06538217579136513,0.07295967553625872,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06516223200176252,0.07231353222168799,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06086046597441286,0.0631580610556751,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 16
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0529966892921251,0.05642173916031184,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.052505079331801034,0.04546342570172277,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04317770295184117,0.0429417222910171,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03911197417245249,0.04079667095653755,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.034748057923325144,0.03375690533620397,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03273271669935973,0.03187193898497791,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030946616881565952,0.031176894265719648,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028288320704250237,0.027335326832969076,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026959816718773906,0.022641406958508702,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021594195402543436,0.01894731632577202,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019233990113984113,0.015612064688612171,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.017794792599894898,0.015135499281475496,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016650487351202673,0.012199396204156379,3
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:46 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01502931919899727,0.010486885455246236,3
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014491636480942401,0.010471634691731893,3
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01413583902228804,0.009777115757679217,3
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014089873245769801,0.009562027678231335,3
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012090657922880794,0.009509896063863467,3
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011533749022725947,0.00923570609802592,3
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 11:20:47 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 376
Rules: 159
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-03-29 23:20:47 rCBA: rules 0
	 took: 1.81  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