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-03-29 21:22:07 rCBA: initialized
2019-03-29 21:22:07 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.6044940839362822,0.02556465451292167,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5591815253120735,0.025444328702403065,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.49565493264897525,0.021842365610503466,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.40786291633241634,0.01990875298948923,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3935020911962439,0.019826309824323932,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3388738356959619,0.018769119630240628,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.29541601856726746,0.017324771148701904,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2943218054031585,0.017277752853951625,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.29311195554740616,0.01564074329816468,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.28832241776074957,0.014607827564056684,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2709084999312585,0.014184672388334506,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.24617200028189953,0.013207707610374533,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20862929682873316,0.011920671847641284,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.17130094398759982,0.010690561219516807,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1627616595400021,0.008937447830809882,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1388284178002433,0.008568141626858958,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1256295208294883,0.008313408494707252,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12468021046354918,0.007467911183454767,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1133507174569179,0.0070657157318175946,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1055379731197077,0.006132727487234077,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09617310977961027,0.0056989299516109655,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08722146615895467,0.004975832592363188,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0830690129321082,0.0045089422678149735,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06851885568141387,0.0043211663987760204,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06388894672378848,0.004261966709876637,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06076213999934299,0.004244155882334413,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05560243231958787,0.004209731370485196,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 467
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.052897970507123075,0.0035473521785011034,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 467
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.045511048000696754,0.0032391621567575343,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 467
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04417104848924193,0.002615234417955376,4
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:07 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 467
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.035556392599413476,0.0023741792553541243,4
Mar 29, 2019 9:22:08 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 29, 2019 9:22:08 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (55)
Frequent patterns: 467
Rules: 230
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-03-29 21:22:08 rCBA: rules 0
	 took: 1.02  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