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-18 21:37:06 rCBA: initialized
2019-04-18 21:37:06 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.879446978698256,0.27964376659509627,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.8592550967151431,0.23671304619167438,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.7862040723886109,0.22469402196030375,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.7137173936935753,0.2038018412424922,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.6978192834276771,0.17039826320473425,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.63099344541736,0.14345385886727327,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.5453151693882669,0.12401773426961567,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.4584359954431839,0.10978345746692532,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.44363202982418104,0.09567043228478139,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.42191791868563866,0.08340123319790216,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.37796286723829153,0.07410347826226275,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.3692238207191291,0.0710176072929954,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.3415229543127158,0.05756466074567033,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.29721569844683593,0.05228449914819324,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.24136493956998778,0.042657337960106054,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.23511938928224552,0.04231102148617337,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.20939842143218376,0.039964555812457565,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.18071219588200918,0.035055891778258866,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.17478529982229865,0.028531178490057405,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.17397716795914275,0.027340784792119106,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.1619626219995341,0.02399218381831244,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.1298480713519537,0.019234712581845795,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.12835350528282577,0.017698342276157825,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 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.10432320403119089,0.017306098466803647,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08835982664311594,0.014186891339087047,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0811521354345107,0.01261123310566904,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07955900815891279,0.01018569656454176,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06681809668435058,0.009221781565688642,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06251584116877275,0.008373155133697789,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0623083104595998,0.008188654575353296,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (16)
Frequent patterns: 31
Rules: 16
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05369914798733899,0.007777921973938042,4
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 18, 2019 9:37:06 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (52)
Frequent patterns: 460
Rules: 226
Cached
Final rules: 9
Accuracy: NaN
Best rules size: 0
2019-04-18 21:37:06 rCBA: rules 0
	 took: 0.89  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