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-04-03 21:37:41 rCBA: initialized
2019-04-03 21:37:41 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.030098772843589194,0.15257606490836606,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025014614657785,0.12935174244189937,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.020126237097287423,0.1279606195213832,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016677332703697915,0.1120251499296929,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016409202735120358,0.09670007117038508,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015986427178529366,0.09052510478169966,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014914630473693739,0.08862330896165915,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012483184979401582,0.0708995020273947,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010978628342542563,0.07045741459544566,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010373331729418756,0.06565357451191836,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.008999375005511515,0.056345023389536744,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007454101053644629,0.048260260176466986,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007373868135619055,0.04015509461988437,4
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:41 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006152183252715453,0.0333862065016534,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005312908629026188,0.03315111540707801,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005246576124801925,0.02678686077200533,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.004379747980285726,0.023361324382263383,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.003851012439195444,0.022023484331158884,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0035464064713417445,0.019913010280244465,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0029456400855596885,0.019907909622364717,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.002828846292272168,0.018725901000887602,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0028058102207813834,0.01643228748116341,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0024562862766209052,0.015498287558868343,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0020107909627590835,0.015290153917438602,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0018108400970090984,0.014477389814604691,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0016186811006762853,0.013141375387923529,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0013068966837183947,0.011343741428893562,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0012475441104426194,0.009845835652560943,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0012471710579706461,0.008656790126263502,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0010286245944082875,0.007665480318758335,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 8.726704784152933E-4,0.006904228848700787,4
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 03, 2019 9:37:42 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 227
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
2019-04-03 21:37:42 rCBA: rules 0
	 took: 1.17  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