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-05 21:31:35 rCBA: initialized
2019-03-05 21:31:35 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.08679333898818964,0.7512483599375896,4
Mar 05, 2019 9:31:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0803629381923847,0.686128695938022,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07312911457120883,0.5511071611483691,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0610260123608092,0.5320374024082942,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 32
Rules: 13
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.051728030385316585,0.5140228255593872,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 214
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04196910229107612,0.4976605844611695,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 218
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04130809360614301,0.41122751780323413,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 218
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03365576511692914,0.3966416514337231,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 218
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02787058753521766,0.3556269048947472,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 218
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022359000275095162,0.3093575485523827,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019022483208852716,0.3081011782623159,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016846026779114606,0.291343279269951,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014037116181909934,0.2678461038660987,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011262379534317371,0.21987321206391797,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010322514771646939,0.1896901388097472,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008999439888088595,0.18705068124507346,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008749272624614234,0.18513860169830398,4
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007333508583157596,0.14995882623871593,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0062069102349142004,0.13286060063380753,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005545813268404753,0.12889215025002568,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005127624187752537,0.1042550100727569,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004726056103523845,0.09667930385220108,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004323277981259333,0.07873311697383939,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.003488073228301806,0.0727688792849121,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0033224038828301933,0.05938247602113923,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0030197011526532187,0.055988398277326934,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002703147055083736,0.045697482488421946,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002504561590297061,0.04188930306331404,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0024810133269034277,0.03930684025166368,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0023259013477461643,0.03384815362354515,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0022816037022924144,0.02995268221672304,4
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 05, 2019 9:31:37 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 459
Rules: 225
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-05 21:31:37 rCBA: rules 0
	 took: 1.65  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