Running examples in 'rCBA-Ex.R' failed
The error most likely occurred in:

> ### 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-08-15 11:33:28 rCBA: initialized
2018-08-15 11:33:28 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.01857707155552446,0.5192048489700568,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015667464077376084,0.5059105467583276,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01424832750531784,0.4829477865014506,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013060413526381166,0.3962837196697446,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010846980169278106,0.349714062633001,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009943061602380992,0.3301745409702135,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009172534131104396,0.3242831274607453,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008071971918830878,0.31507793667223255,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007218430118473947,0.2912818607495684,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006129106750669974,0.2571958365797734,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005353044470347236,0.2536288268622056,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004776619042169806,0.22993837769971406,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004667134060145129,0.2243863379262477,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003763309948253386,0.1815075631404867,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003329613091213732,0.15917002980858871,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002702508928793188,0.1304432659764551,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0025923941009164475,0.10949188860853648,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00225421568738808,0.10680947678983718,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002245022140897033,0.10028187350759632,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.001899557192983462,0.09457803577126278,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0018846853926754745,0.08839836117007645,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0015610203652326891,0.08671742577429876,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0012877002872574812,0.07845489592483706,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0011033280862752098,0.06631722115921833,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0011024434630783903,0.060645806126078394,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0010844431668717324,0.054960995178176465,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 9.637807595195846E-4,0.05405620093007518,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 8.505731011643527E-4,0.051033694266513996,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 7.886579593441622E-4,0.04875641788263618,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 6.681168161623816E-4,0.04014857928600178,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 5.54101462955926E-4,0.033972435302896814,1
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Aug 15, 2018 11:33:28 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (46)
Frequent patterns: 46
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2018-08-15 11:33:28 rCBA: rules 0
	 took: 0.28  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