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-18 21:34:48 rCBA: initialized
2019-03-18 21:34:48 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.7211203455681767,0.9410878868873992,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 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.6655325256551423,0.8880953772060318,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 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.6575476573642871,0.8054452846627984,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 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.5675293402362053,0.7296583672805306,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 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.49397845886080033,0.6218273810577468,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 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.45465273776280296,0.516988063051839,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 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.41865413901877907,0.5031686133966403,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 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.34606468785180655,0.48030170265463257,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.32661777524099855,0.4765294720718773,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3081921053145907,0.44688442793372063,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2670941169174161,0.3630342157591319,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 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.24552202841336423,0.36264008516630936,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 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.24195940298826216,0.3419827818071863,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (4)
Frequent patterns: 4
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.2063102806243133,0.2899189478617008,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 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.16569468848128485,0.2531140379433121,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14045212347503247,0.2277717462843059,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 7
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11601414906980204,0.21682146580604567,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10357107212935626,0.1968552706641779,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08669683973175456,0.18154452316032943,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07769632916616419,0.16435857769742374,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06543954665024046,0.13450289794036793,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05400737216461525,0.13350783313849068,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04858495769952443,0.11980611781288,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04141151853263201,0.0973346992274715,4
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:48 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04075160288887954,0.09731752833547122,4
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.040455094911869556,0.09329661130414137,4
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03699761133383331,0.07948007275977324,4
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03464492160796129,0.06695497379957309,4
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03381407302438211,0.061277186270202885,4
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.027725855921472135,0.05509991545911927,4
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022358843668938814,0.04771640846625364,4
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 18, 2019 9:34:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (53)
Frequent patterns: 464
Rules: 228
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-03-18 21:34:49 rCBA: rules 0
	 took: 1.27  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