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-02-07 10:52:17 rCBA: initialized
2019-02-07 10:52:17 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.1508826265973554,0.6311447717024351,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (8)
Frequent patterns: 14
Rules: 5
Cached
Final rules: 3
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.12281544048806997,0.5259016392327998,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 59
Rules: 26
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.11087116428170014,0.47530038598564317,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 59
Rules: 26
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.10304027239180434,0.4193136955452862,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 59
Rules: 26
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09987377061515165,0.4034815566515159,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 59
Rules: 26
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09249423768808379,0.36384830293686543,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 59
Rules: 28
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08693475562936354,0.3555729398851908,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 59
Rules: 28
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07763684679685358,0.33498129726048165,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 59
Rules: 28
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07687024924078828,0.3328144741567835,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 59
Rules: 28
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06474519921458462,0.3145386899850988,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 59
Rules: 28
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.06418270521279232,0.25194246862939956,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 59
Rules: 28
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05869040048561943,0.2059747217240164,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04858785527444508,0.17171078903428566,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04342549148093646,0.1668764628009649,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03808700350671995,0.15091317875857385,4
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:17 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.031170763623904852,0.13408957640378943,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.025354101173191576,0.11903018911635524,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.023322422928028656,0.11655190576263037,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.020125583145171322,0.10825927510007327,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.017185105147397427,0.09569901243078226,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016806043658857198,0.08150731042442025,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016742560181489622,0.07537849875323893,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.015535515161236448,0.07295905590311468,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01347763226004995,0.06956059143348217,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010920734706250141,0.05890107655187365,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01010414122298668,0.05202657380390308,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009831562948898793,0.051827895906860946,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007998121090080865,0.05050464749675557,4
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:18 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0064807174558568,0.04171807673226051,4
Feb 07, 2019 10:52:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005825535423203769,0.03557805976680532,4
Feb 07, 2019 10:52:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005499588956454536,0.03265502551780507,4
Feb 07, 2019 10:52:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 07, 2019 10:52:19 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 395
Rules: 194
Cached
Final rules: 5
Accuracy: 0.0
Best rules size: 0
2019-02-07 10:52:19 rCBA: rules 0
	 took: 1.87  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