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)
2018-09-17 10:25:19 rCBA: initialized
2018-09-17 10:25:19 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.044030463140672826,0.40423886790240027,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04157367198785074,0.402477246575173,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0386635142627555,0.39347551098918987,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.036282233495923195,0.31820590590088565,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03542351114636026,0.29597096974954984,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.033802619417492505,0.24761623877878086,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03177532349137528,0.21448040519505016,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02704913934185021,0.1876595063138188,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02266691799115518,0.17031807803412327,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.019121308574788096,0.1607041551448498,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01736364151597347,0.13490377860734415,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016283823022191064,0.1301559158291894,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015701237444419248,0.11084454502404226,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013771797512218928,0.09394277058768331,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01212801770953259,0.07669411872234386,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010782541377782564,0.06919728389787304,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010490772009633926,0.057432045529867415,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009133148151945854,0.047410979403847434,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008173844600797781,0.04732516453276682,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0070279782315915895,0.0441816876328157,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006342316741881211,0.041094598048198976,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005976381097041521,0.0370245814802512,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005665222944865981,0.03402480726081494,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005204037348500265,0.0328140791560644,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004508957266318175,0.03069072080971233,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004148317385220223,0.03038598200839538,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003678299086072816,0.028426833083409944,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0033161133328069364,0.02756175722811359,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0028549310881050335,0.027494558025028478,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0027496630983787672,0.0222844629436008,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0025947425394496756,0.01860445643516343,1
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Sep 17, 2018 10:25:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 42
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2018-09-17 10:25:20 rCBA: rules 0
	 took: 0.85  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