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-07 23:34:56 rCBA: initialized
2019-04-07 23:34:56 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.8266658443327617,0.6336897004060467,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.7369156105686696,0.5268975004274086,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.6797002606627588,0.4639709669686596,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.6564016291739241,0.44969329432326505,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.5978718040394304,0.37680986364926145,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.5734576237147346,0.36282409897908496,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.5281878808219914,0.36150156783661036,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.4341441417997463,0.3538836664259761,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.3616606605781589,0.31703223698205424,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.290249541555474,0.2600565116844705,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.2510999255569488,0.2557952124763386,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.20120602744281527,0.21875041325532327,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 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.17080042035936704,0.20340157830008207,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13969723824419822,0.18581151999077355,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11242915190015615,0.1810848601426754,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09607859416886362,0.15806918247691717,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08522595545532174,0.13984700153768248,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07100364497007919,0.13517213382478027,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06056707143596566,0.12531952265314317,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 12
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05520759228071239,0.10494698233535356,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04589661669739767,0.09131373751644396,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03875574071658234,0.07623747423837854,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03531909700578827,0.06214905535839074,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.032574305352204694,0.05006261677711897,2
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:56 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.031191147402147373,0.04153557702477167,2
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029466835350135237,0.03588072656525305,2
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02550049267313819,0.03235830761520059,2
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021328758848983397,0.030617946552523794,2
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.017411745886561365,0.026746105666558297,2
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015633379264548268,0.02536516316630457,2
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015102315599505964,0.023269266918033733,2
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 07, 2019 11:34:57 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 206
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-07 23:34:57 rCBA: rules 0
	 took: 0.85  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