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-01-22 23:01:35 rCBA: initialized
2019-01-22 23:01:35 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.03246643984612363,0.491776076885201,1
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02995476475628251,0.4766447202375267,1
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02517385638885683,0.4728536503149768,1
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.024725425688362234,0.4013077304861749,1
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02240966648284563,0.38115170031984547,1
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.02023617546121101,0.30929114045580103,1
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.018869266264180562,0.28167407253967686,1
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01790470968330274,0.2742431511189063,1
Jan 22, 2019 11:01:35 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016877723693267635,0.24892749696673577,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014389374524486733,0.22753838804821622,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.014162367144497196,0.20529198767462353,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013070010476454992,0.20288288140551575,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.012881845671294332,0.19402860348931136,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011934737097005127,0.16848162900449618,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011103286269282637,0.1587458013591814,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01025391737494968,0.1446649325987508,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.009613059861655022,0.14459937045739693,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007779679739630997,0.12840913092445513,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007313952974307642,0.1201601123778375,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007276311793595237,0.10737954646443704,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006995144456713106,0.08633745585568563,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005908617422683094,0.07802334482951687,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005331033019840174,0.07740885382340745,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.005237867196641645,0.06511478611734824,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004587765498154741,0.05909870282377763,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.004473838324523808,0.057620891327473354,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.003797562758266745,0.055042824521523,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.00306932514381681,0.05417557891159651,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.002714232608400962,0.05242111873995868,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0026597356509354486,0.04669631172053852,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0021821993953141314,0.04540014664509837,1
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Jan 22, 2019 11:01:36 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (44)
Frequent patterns: 44
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2019-01-22 23:01:36 rCBA: rules 0
	 took: 0.96  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