Running examples in ‘sbrl-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: predict.sbrl
> ### Title: PREDICT THE POSITIVE PROBABILITY FOR THE OBSERVATIONS
> ### Aliases: predict predict.sbrl
> ### Keywords: ~kwd1 ~kwd2
> 
> ### ** Examples
> 
> # Let us use the titactoe dataset
> data(tictactoe)
> for (name in names(tictactoe)) {tictactoe[name] <- as.factor(tictactoe[,name])}
> 
> # Train on two-thirds of the data
> b = round(2*nrow(tictactoe)/3, digit=0)
> data_train <- tictactoe[1:b, ]
> # Test on the remaining one third of the data
> data_test <- tictactoe[(b+1):nrow(tictactoe), ]
> # data_train, data_test are dataframes with factor columns
> # The class column is "label"
> 
> # Run the sbrl algorithm on the training set
>   sbrl_model <- sbrl(data_train, iters=20000, pos_sign="1",
+    neg_sign="0", rule_minlen=1, rule_maxlen=3, 
+    minsupport_pos=0.10, minsupport_neg=0.10, 
+    lambda=10.0, eta=1.0, nchain=25)
Eclat

parameter specification:
 tidLists support minlen maxlen            target   ext
    FALSE     0.1      1      3 frequent itemsets FALSE

algorithmic control:
 sparse sort verbose
      7   -2    TRUE

Absolute minimum support count: 42 

create itemset ... 
set transactions ...[27 item(s), 422 transaction(s)] done [0.00s].
sorting and recoding items ... [27 item(s)] done [0.00s].
creating bit matrix ... [27 row(s), 422 column(s)] done [0.00s].
writing  ... [228 set(s)] done [0.00s].
Creating S4 object  ... done [0.00s].
Eclat

parameter specification:
 tidLists support minlen maxlen            target   ext
    FALSE     0.1      1      3 frequent itemsets FALSE

algorithmic control:
 sparse sort verbose
      7   -2    TRUE

Absolute minimum support count: 21 

create itemset ... 
set transactions ...[27 item(s), 217 transaction(s)] done [0.00s].
sorting and recoding items ... [27 item(s)] done [0.00s].
creating bit matrix ... [27 row(s), 217 column(s)] done [0.00s].
writing  ... [297 set(s)] done [0.00s].
Creating S4 object  ... done [0.00s].

 *** caught segfault ***
address 0x7ffcadb1bd1c, cause 'memory not mapped'

Traceback:
 1: sbrl(data_train, iters = 20000, pos_sign = "1", neg_sign = "0",     rule_minlen = 1, rule_maxlen = 3, minsupport_pos = 0.1, minsupport_neg = 0.1,     lambda = 10, eta = 1, nchain = 25)
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault