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-19 23:36:26 rCBA: initialized
2019-04-19 23:36:26 rCBA: data 20x5
	 took: 0.02  s
Evaluate: 0.3569348431894851,0.1447939579940022,4
Apr 19, 2019 11:36:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:26 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.3348548119216334,0.12366589947166698,4
Apr 19, 2019 11:36:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:26 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.31972667606298394,0.11155188709219652,4
Apr 19, 2019 11:36:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:26 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.30239504819577523,0.09424593586787411,4
Apr 19, 2019 11:36:26 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:26 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.24732464573356858,0.08004840422640006,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.24295303001333754,0.0797101868029906,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.23680822987915712,0.06852918879987797,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2329890710994176,0.05788343353258498,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 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.20891078187676132,0.05357441745248445,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 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.1924071506125932,0.047997981201014374,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 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.15948555909604378,0.04581660053185935,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 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.15764639178378845,0.040042428745829715,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 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.1276431305877132,0.03520012695571734,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 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.12657679291671178,0.03125416339356651,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 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.10967282671659867,0.026667045787702463,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10112443328440678,0.025436125656846217,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09568421218589648,0.0242478549732819,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08213326691010492,0.02269861065314082,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07675132623904561,0.022449390930709003,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06366798152078718,0.022185656380351,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0618101379314648,0.020692591928567608,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 32
Rules: 17
Cached
Final rules: 6
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05765984100851242,0.016600801911399503,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05639416921160295,0.01455590158291184,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04585052740241896,0.011746084458645773,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04073357804177894,0.011078558324983473,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.039780720108081744,0.009927325874022909,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.034684512812981204,0.009759403886549625,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.032661865984865764,0.00889798388707772,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.031042311471423487,0.00740576276747473,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028074274607478234,0.007117505846830621,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02570584198489509,0.006504116288808101,4
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 19, 2019 11:36:27 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 457
Rules: 224
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-04-19 23:36:28 rCBA: rules 0
	 took: 1.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