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)
2019-02-25 18:32:17 rCBA: initialized
2019-02-25 18:32:17 rCBA: data 20x5
	 took: 0.02  s
Evaluate: 0.5190124719085315,0.8327870204041269,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.480493915739418,0.8094522073561471,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.38677179374368853,0.6680279917714785,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.32749853262668405,0.6633308508609614,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.29871098482330904,0.5601779315652594,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.2729334102238862,0.487984076485799,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.25232090482314784,0.463394504669861,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.2466009065753657,0.4267828480272632,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 8
Rules: 2
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.20419264242223856,0.349177902483966,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (6)
Frequent patterns: 8
Rules: 4
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.17424348239918333,0.33535613314483725,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (8)
Frequent patterns: 14
Rules: 7
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.13959621141903691,0.2766394491624406,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (8)
Frequent patterns: 14
Rules: 7
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.11516641486535398,0.2526426364037214,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 54
Rules: 24
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09509891685058734,0.21954623886164198,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 54
Rules: 25
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08787963235823842,0.20518852112690447,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 54
Rules: 25
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07961279539836678,0.19148007055987123,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 54
Rules: 25
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06866698153756134,0.16149117357666423,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (18)
Frequent patterns: 54
Rules: 25
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.061903044996221526,0.15015110348004124,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.054658639876351785,0.13147301241149598,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.046833651592658926,0.10769153473886005,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.046755252463252295,0.09218802547452173,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.041414657918938745,0.08983519697921555,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03717206197395021,0.07429218673626349,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.035650122370665976,0.06767282885803924,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.028891644974383804,0.06562936833486102,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.026972860852390475,0.06535317163914867,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.022748290993650198,0.05935737866463844,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01958772884519298,0.048412642687785834,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.018141593528484885,0.048034921571266875,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014851188592827956,0.04253972826224399,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013981580019910718,0.0393960905197192,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011398103703665374,0.03775811084912249,3
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 25, 2019 6:32:17 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (44)
Frequent patterns: 320
Rules: 134
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
2019-02-25 18:32:17 rCBA: rules 0
	 took: 0.4  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