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-02-06 21:11:49 rCBA: initialized
2019-02-06 21:11:49 rCBA: data 20x5
	 took: 0.02  s
Evaluate: 0.10385564044131268,0.8867782758361347,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.10180161881741365,0.7851505054547412,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.09590960422133789,0.7297553357354857,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0941785153180761,0.7278882144407817,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.08010205665061214,0.7169640289507755,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.07455462485309383,0.6749122149216009,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.060139741532795346,0.6324035282723348,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05989560577873448,0.5073731054310238,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05830820019982655,0.4686586737040261,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05433664285492444,0.45450968697583255,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.05127384550939052,0.4267392680600827,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 0
Cached
Final rules: 0
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.04391699427630951,0.36536133403113974,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.043475700795273506,0.3581010795635835,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.037375424191495955,0.33656777093870616,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03250432807420878,0.32165076119229796,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.03028069016340016,0.28476061624523963,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.0284867472406357,0.2793965092460395,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 2
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.026091588701277972,0.24780228698109172,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.024586711085180884,0.24673703696432225,1
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:49 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.019983926663177446,0.2070568466805767,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.01777033722129204,0.18315795880879354,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.017474583861928288,0.15452978815338944,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.016355238741916595,0.14028445405655643,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013753531575743855,0.13049211652782255,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.013421779970851344,0.10479616622383722,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.011445863581409753,0.09331492163743277,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010986215819562169,0.07993083686076896,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.010132358420717962,0.0641334783919455,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.008519146288176663,0.05879981420004484,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.007433927273578913,0.056228444825534955,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
Evaluate: 0.006556757437543449,0.05422834770206483,1
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Feb 06, 2019 9:11:50 PM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (45)
Frequent patterns: 45
Rules: 3
Cached
Final rules: 1
Accuracy: 0.0
Best rules size: 0
2019-02-06 21:11:50 rCBA: rules 0
	 took: 0.99  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