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-20 21:34:50 rCBA: initialized
2019-03-20 21:34:50 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.6071350267223917,0.3405669645668822,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.509012405514886,0.27276526966973375,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.4201799732891965,0.2436804268078994,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.39269994013897536,0.2039457802844819,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.32878311280991046,0.1763171009769756,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.31792642067921323,0.14276287119215492,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.30603233536699315,0.12194733797612232,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.2765536378604515,0.10007932109789745,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.2676463926274105,0.08381292777064343,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.21420227000447423,0.07491609378809244,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.19301255912604115,0.0650597709576777,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.18459334583031756,0.05538678044650064,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 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.163271759669311,0.05314098747995719,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.132183719644718,0.05026470310658107,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11473027001025846,0.049034071302450494,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09233599327928904,0.04639085275615165,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0744000585254024,0.03719723634808719,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07286023250170306,0.0358817683087583,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06280975259787046,0.03239333750894968,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 29
Rules: 13
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.052978092666287065,0.029027449650756064,3
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0439538682638257,0.02706693442443075,3
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03973438895037463,0.02404086012270587,3
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03793447889491315,0.021138107306661436,3
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.033233886338153704,0.017090876456231526,3
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02660083377552846,0.015922981039038244,3
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022923702398810825,0.0157422671184169,3
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019579002293723315,0.013182746814820193,3
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.018278772035888326,0.01092244809215982,3
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016159716906081104,0.010865642858256374,3
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01382937380579071,0.010067235508990725,3
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013652430003655024,0.008687711559112181,3
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 20, 2019 9:34:51 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 381
Rules: 162
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-20 21:34:51 rCBA: rules 0
	 took: 0.95  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