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-03-31 21:43:18 rCBA: initialized
2019-03-31 21:43:18 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.23675956360589445,0.9019704782038608,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.23220031317805978,0.7842990011366683,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1994309812585698,0.7271260785149054,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.17175980238512148,0.6239939258314343,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14212173525864155,0.5713235514319782,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12874836743016577,0.5452138494157277,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 2
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10418700841015598,0.46978290827453595,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 30
Rules: 10
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09363248896521088,0.3860140624094319,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 30
Rules: 10
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08108896262386416,0.3691140655635734,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 30
Rules: 10
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07829737054827149,0.30926166934706184,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 30
Rules: 12
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06286834005367566,0.2481380145153163,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 30
Rules: 13
Cached
Final rules: 8
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05725189136481068,0.23991962627191993,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0474651126776801,0.20831710313615354,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04256841113960393,0.17100987758048744,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.036772903251280256,0.15701108843454537,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.034345020204152074,0.14074216419103242,2
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:18 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.030371664879027517,0.12514053285930488,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026869116347479582,0.11657856612652526,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0227006304938411,0.11187275206102365,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022123718574481168,0.10890835948771967,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.021468872783916626,0.08820866426259057,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019395809253777034,0.07629863204678532,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015943470259503326,0.06991747311097771,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.015829284195258187,0.0606235562589661,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013702220788836329,0.05688652395715352,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013402682840419344,0.046482833781363427,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01254500869689329,0.03996344846096771,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010717587498402084,0.03953837768470037,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010516372655528563,0.03667154630115771,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00861915854463612,0.032018274671372554,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.00859840749408488,0.03184243957866438,2
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 9:43:19 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 207
Rules: 59
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-31 21:43:19 rCBA: rules 0
	 took: 1.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