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-27 21:37:04 rCBA: initialized
2019-03-27 21:37:04 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8151805061227705,0.44931728821726735,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.7552364432685084,0.38115116982840136,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.6627187866354546,0.37948843388272846,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.6356219065722882,0.3399312827099198,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.5943605649361052,0.32429030121687197,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.5629802995403075,0.30489512542985775,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.4610175516242786,0.29498282489179384,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.40419964340028375,0.2516611375173723,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.40361581739941743,0.23200693034786168,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.3768798672781453,0.2114360841201203,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.3252844307332793,0.1783963672631611,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.2770202279412377,0.1756885129049902,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.2273365600631001,0.14257742966683282,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.18406947558611828,0.12277419453983704,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 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.173129286650492,0.1207682917967799,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.143929116027434,0.10000637243862874,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1386254965450002,0.0964690827886655,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13661588681033057,0.07728287700771506,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12095082948274971,0.06552149429068839,4
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:04 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.115603712846008,0.06542940751731972,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10633619279397681,0.05525329440045909,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09673268426017613,0.046721861332939346,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07940808848497764,0.039120228423834114,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06934347484597886,0.03194342050466219,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06736629678570985,0.028153258130388156,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06716178871527383,0.025778633183499038,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 33
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05605477543340784,0.02103293067276201,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 459
Rules: 226
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.055176742308259356,0.017619076081980965,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 459
Rules: 226
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05441371061908459,0.01670430269062268,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 459
Rules: 226
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.051554436831407126,0.01590197516597226,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 459
Rules: 226
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.049827404612948316,0.013072451660427942,4
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 27, 2019 9:37:05 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 459
Rules: 226
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-27 21:37:05 rCBA: rules 0
	 took: 0.89  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