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-12 23:37:53 rCBA: initialized
2019-04-12 23:37:53 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.05976505629223883,0.3514650335595755,4
Apr 12, 2019 11:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 14
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04925232754405114,0.335471468928203,4
Apr 12, 2019 11:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 222
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04621627378678114,0.27467141105603793,4
Apr 12, 2019 11:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 226
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.045470977595921815,0.2627209703942708,4
Apr 12, 2019 11:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 226
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04348186078439424,0.25173137631546644,4
Apr 12, 2019 11:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:53 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 226
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03804995502290985,0.2286197642610462,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 226
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03652324072119987,0.19634473701394123,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03160751866946273,0.17038945307075093,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027359085864579205,0.14361381513078908,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025860421296697148,0.12769541458870176,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02464162123356634,0.1142349474854876,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021918756503630198,0.10046590834948718,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01861498869196774,0.09692137865446497,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01720770075170251,0.08941410325714506,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014803954832811503,0.08319053393181483,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0128037619985653,0.0733346508679963,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012708636904092074,0.07025586672206782,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010628381661642632,0.06715223002040559,4
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:54 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009089539740543074,0.06657787842712301,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007910145760151413,0.05382152960941404,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00785651848236134,0.04551314984810844,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006864906512264062,0.04107503941750579,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0062137779616193815,0.03795508631374739,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005663515342819988,0.037608060348293185,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00469419350938559,0.033776818697581965,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0038032262766808326,0.029930930838642088,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0035766241002780147,0.029568288583666013,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0028634973321767614,0.02682726271170913,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0025914940255738705,0.025887183553512064,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0021793042310237266,0.024469214350490563,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00205355448430648,0.021118947659922206,4
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 12, 2019 11:37:55 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-04-12 23:37:55 rCBA: rules 0
	 took: 2.01  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