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)
2018-07-20 10:37:44 rCBA: initialized
2018-07-20 10:37:44 rCBA: data 20x5
	 took: 0.02  s
Evaluate: 0.5398406571768868,0.9466607718758066,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.49706231933624073,0.77021876280911,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.4910817087411046,0.7127045087147509,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.4589356350418424,0.5814105952058604,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.44923116176613737,0.5598486819121582,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.36419359000887663,0.5235542356890479,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.3060653716170746,0.4923476395842036,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.2507434803201511,0.43815472855973153,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.22177785288586835,0.3819010336365063,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 7
Rules: 2
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.18450614205148486,0.33718214470641916,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (11)
Frequent patterns: 15
Rules: 6
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.16181763138736313,0.2835603171428286,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (11)
Frequent patterns: 15
Rules: 6
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.16084533843623436,0.23685452849193184,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (11)
Frequent patterns: 15
Rules: 7
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.13232015489850152,0.20101628096163124,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (11)
Frequent patterns: 15
Rules: 7
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.11552976623106266,0.17610046769721915,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 61
Rules: 31
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09754303042981469,0.158602465790633,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 61
Rules: 31
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09583099562349251,0.13232155875166907,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 61
Rules: 31
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08113794433174752,0.12302908365952953,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 61
Rules: 31
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06572783668815566,0.12002845281347901,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 61
Rules: 31
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05365242666540758,0.10603369995667351,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.044527444339847205,0.0926371629481734,4
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:44 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.043722946356931414,0.08463590600000442,4
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.035762210703417695,0.07742157563454041,4
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02988842906314936,0.06720622460314352,4
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.028448183514354797,0.0602060856798383,4
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.028394916770892398,0.05982288095839151,4
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.023687787714479044,0.053547228369011976,4
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.021297688009677213,0.0502538193887566,4
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.020152536747164898,0.04371800963435697,4
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01701569172621767,0.04219009150886182,4
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015515493813351402,0.03663099414438549,4
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:45 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.012963088733626595,0.035611848120521324,4
Jul 20, 2018 10:37:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jul 20, 2018 10:37:46 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (42)
Frequent patterns: 393
Rules: 193
Cached
Final rules: 8
Accuracy: 0.0
Best rules size: 0
2018-07-20 10:37:46 rCBA: rules 0
	 took: 2.13  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