Running examples in ‘rCBA-Ex.R’ failed
The error most likely occurred in:

> ### 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-03-26 06:44:32 rCBA: initialized
2019-03-26 06:44:32 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.10346784132579279,0.7764992610677212,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09567139691068487,0.6739138649580411,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08039753292894956,0.6346781157766981,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06866147673638708,0.5730352648720082,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06355345984819488,0.5197827093230164,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 17
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.054733230381055605,0.4271798485597754,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05213549896500139,0.41014346676987024,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.049938375101179024,0.3922286440433791,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.042052602654291955,0.3490862991662436,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04055951168015949,0.30717908869916655,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03940532463647587,0.2626321462744033,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03251618526848716,0.24530314686395555,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030332832023345403,0.21377746805210213,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027552008195829043,0.1771063735957854,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02469267147384145,0.15515825731381666,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021216863988519113,0.12636221897373506,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01749889790335097,0.12202977387598606,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01740447520495175,0.10613012210834884,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.016786065185889182,0.08973523103927253,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013614309302310284,0.07993060108770175,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011819325266458246,0.06738051518577455,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010841784642956057,0.05672024813133706,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009790500607473817,0.05012879595011257,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009727020181902787,0.04900150524986166,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009128721851353896,0.04736893576410365,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007592054651794676,0.039055893142609974,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.006939491327510534,0.03607323809008449,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0063631927548355085,0.035526109957453623,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005389818901517378,0.028640739360898698,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.005246512377397435,0.023121135465745964,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00501206450557282,0.020815735600627727,1
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 26, 2019 6:44:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 52
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-03-26 06:44:33 rCBA: rules 0
	 took: 0.12  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