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-01 11:27:09 rCBA: initialized
2019-03-01 11:27:09 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.6167340467324904,0.8119482949362887,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.496686198887691,0.7970888717195619,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.4418983741834981,0.7896329892023765,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.3649440853251317,0.7317308688017947,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.34278778492675355,0.6256878578699852,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.286039817019451,0.5821519708846139,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.2768183349010877,0.49857205191758025,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.25963231062915726,0.4246199553174509,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.24498509256876727,0.3715724235194635,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.20438344092661023,0.355643190545009,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.18068525715097872,0.30581431225132055,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.18016180828482525,0.2733801262312076,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM 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.17266156659225718,0.25278807383697094,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.16853127837555626,0.21511813011908376,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.15693798399457687,0.1967295260279449,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.14315569989613564,0.16751776360232842,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13365625346173893,0.15321480214306724,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12458615162825493,0.12731169074384582,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 8
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11429656838597743,0.10351787992977825,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1038392438804862,0.10048939192382103,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09071665548958183,0.08793037176359284,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08619751565081574,0.07767809678985667,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08434114276704635,0.072733240292265,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0778266046239378,0.0634803091735465,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06740404947341212,0.05617731987176789,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05991385943644535,0.04667562539486949,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (15)
Frequent patterns: 29
Rules: 15
Cached
Final rules: 7
Accuracy: NaN
Best rules size: 0
Evaluate: 0.04930737146398457,0.04479711944169658,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03973500434285723,0.043627473495926994,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03370146285801513,0.03793313085131668,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.031046842117017918,0.036783972773059,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02576927172181722,0.02978714041047937,4
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 01, 2019 11:27:09 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (54)
Frequent patterns: 463
Rules: 227
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-01 11:27:10 rCBA: rules 0
	 took: 1.02  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