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-27 22:47:26 rCBA: initialized
2019-02-27 22:47:26 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.9426780764628846,0.009567468734215656,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.9350727840647629,0.009550257981254855,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.8384521535639329,0.00868163920391955,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.7773485928070629,0.0074067768865367905,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.6933586363258246,0.007287006940799234,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.6308915367696968,0.006724798072152652,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5929465522414936,0.006677927844322771,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5460659949100757,0.0053861758743036356,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5115926204948757,0.004448428993357501,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5110204686383661,0.004290050326011836,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5009024067031026,0.003680886490518925,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.43668745035336043,0.003390304695770903,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.43437028464184585,0.0031151587637233717,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3778075033749612,0.0025916002722493714,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.36805302923257377,0.002211836637772931,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2963903583308193,0.001808052996279308,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.27391553815590786,0.0017818288534193353,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2715880704531039,0.00172763052028348,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2626942272867302,0.0013860907761890885,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2321826039989722,0.0012663494966382296,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2271272999232162,0.0012382629944394609,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22177391629159365,0.0010751716417519248,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2113323082166726,8.864514497992479E-4,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20336691610265806,7.885337649042916E-4,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.17952045603392125,6.489910413938765E-4,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.17515618932514157,5.226780382801408E-4,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14127580408966534,4.2726699948207966E-4,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13757998311975356,3.6486157086094116E-4,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12960786538551294,3.58183457494016E-4,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1280566726842035,2.9443650190864607E-4,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12299914272737725,2.8453686141901734E-4,3
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: start
Feb 27, 2019 10:47:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFORMATION: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
2019-02-27 22:47:26 rCBA: rules 0
	 took: 0.15  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