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-18 11:40:34 rCBA: initialized
2019-04-18 11:40:34 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.008753151788285285,0.052819517579221764,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007674647344810619,0.05169244747299884,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006145731158634419,0.05045649049539564,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0060262301772179665,0.04679339027945219,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004920334844399529,0.039144239151841356,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004788222913904881,0.037707303063053116,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004217633720439258,0.03278462671382108,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.003986765149299986,0.03136317834734189,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0033858732215499695,0.02550785678838589,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002830653819924511,0.022983019524776466,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002763758288125028,0.02105599272616277,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0027368037589889298,0.017673087422082723,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0025581428084048455,0.016153305108726448,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0021591288992345923,0.014720101278828328,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0018078581693938233,0.012934066258419804,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0017301064455632854,0.011979083834418138,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.001384783496833563,0.010401588321890415,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0012797968630795043,0.010014483286630533,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0011221568481656393,0.00915566803431982,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 9.207597445260238E-4,0.007787980257898253,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 9.095910295598592E-4,0.006493020045061873,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 8.714413991330416E-4,0.006472616797422505,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 8.602087860727934E-4,0.005640908438745732,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 7.473957626332567E-4,0.005015515171403055,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 5.982041707240024E-4,0.004220814209026111,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 5.777920693906097E-4,0.003908948662205749,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 5.221744711206914E-4,0.0033841320626224252,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 4.592801228668052E-4,0.0027289131730681582,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 3.787519429538813E-4,0.0026952477289987494,2
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:34 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 3.10407307221754E-4,0.0025351874289752246,2
Apr 18, 2019 11:40:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 2.737292336016412E-4,0.002224537707496837,2
Apr 18, 2019 11:40:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 11:40:35 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 211
Rules: 59
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-04-18 11:40:35 rCBA: rules 0
	 took: 0.93  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