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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: c-methods
> ### Title: Combining Objects
> ### Aliases: c c,sequences-method c,timedsequences-method
> ###   c,sequencerules-method
> ### Keywords: manip attribute
> 
> ### ** Examples
> 
> ## continue example
> example(ruleInduction, package = "arulesSequences")

rlIndc> ## continue example
rlIndc> example(cspade)

cspade> ## use example data from paper
cspade> data(zaki)

cspade> ## get support bearings
cspade> s0 <- cspade(zaki, parameter = list(support = 0,
cspade+                                     maxsize = 1, maxlen = 1),
cspade+                    control   = list(verbose = TRUE))

parameter specification:
support : 0
maxsize : 1
maxlen  : 1

algorithmic control:
bfstype  : FALSE
verbose  :  TRUE
summary  : FALSE
tidLists : FALSE

preprocessing ... 1 partition(s), 0 MB [0.045s]
mining transactions ... 0 MB [0.037s]
reading sequences ... [0.043s]

total elapsed time: 0.125s

cspade> as(s0, "data.frame")
  sequence support
1    <{A}>    1.00
2    <{B}>    1.00
3    <{C}>    0.25
4    <{D}>    0.50
5    <{E}>    0.25
6    <{F}>    1.00
7    <{G}>    0.25
8    <{H}>    0.25

cspade> ## mine frequent sequences
cspade> s1 <- cspade(zaki, parameter = list(support = 0.4), 
cspade+ 		   control   = list(verbose = TRUE, tidLists = TRUE))

parameter specification:
support : 0.4
maxsize :  10
maxlen  :  10

algorithmic control:
bfstype  : FALSE
verbose  :  TRUE
summary  : FALSE
tidLists :  TRUE

preprocessing ... 1 partition(s), 0 MB [0.032s]
mining transactions ... 0 MB [0.043s]
reading sequences ... [0.095s]

total elapsed time: 0.17s

cspade> summary(s1)
set of 18 sequences with

most frequent items:
      A       B       F       D (Other) 
     11      10      10       8      28 

most frequent elements:
    {A}     {D}     {B}     {F}   {B,F} (Other) 
      8       8       4       4       4       3 

element (sequence) size distribution:
sizes
1 2 3 
8 7 3 

sequence length distribution:
lengths
1 2 3 4 
4 8 5 1 

summary of quality measures:
    support      
 Min.   :0.5000  
 1st Qu.:0.5000  
 Median :0.5000  
 Mean   :0.6528  
 3rd Qu.:0.7500  
 Max.   :1.0000  

includes transaction ID lists: TRUE 

mining info:
 data ntransactions nsequences support
 zaki            10          4     0.4

cspade> as(s1, "data.frame")
          sequence support
1            <{A}>    1.00
2            <{B}>    1.00
3            <{D}>    0.50
4            <{F}>    1.00
5          <{A,F}>    0.75
6          <{B,F}>    1.00
7        <{D},{F}>    0.50
8      <{D},{B,F}>    0.50
9        <{A,B,F}>    0.75
10         <{A,B}>    0.75
11       <{D},{B}>    0.50
12       <{B},{A}>    0.50
13       <{D},{A}>    0.50
14       <{F},{A}>    0.50
15   <{D},{F},{A}>    0.50
16     <{B,F},{A}>    0.50
17 <{D},{B,F},{A}>    0.50
18   <{D},{B},{A}>    0.50

cspade> ##
cspade> summary(tidLists(s1))
tidLists in sparse format with
 18 items/itemsets (rows) and
 4 transactions (columns)

most frequent transactions:
      1       2       4       6       5 (Other) 
      4       4       4       4       3      28 

item frequency distribution:
sizes
 2  3  4 
11  3  4 

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
  2.000   2.000   2.000   2.611   3.000   4.000 

includes extended item information - examples:
  labels
1  <{A}>
2  <{B}>
3  <{D}>

cspade> transactionInfo(tidLists(s1))
  sequenceID
1          1
2          2
3          3
4          4

cspade> ## use timing constraint
cspade> s2 <- cspade(zaki, parameter = list(support = 0.4, maxgap = 5))

cspade> as(s2, "data.frame")
      sequence support
1        <{A}>    1.00
2        <{B}>    1.00
3        <{D}>    0.50
4        <{F}>    1.00
5      <{A,F}>    0.75
6      <{B,F}>    1.00
7    <{A,B,F}>    0.75
8      <{A,B}>    0.75
9    <{B},{A}>    0.50
10   <{F},{A}>    0.50
11 <{B,F},{A}>    0.50

cspade> ## use classification
cspade> t <- zaki

cspade> transactionInfo(t)$classID <-
cspade+     as.integer(transactionInfo(t)$sequenceID) %% 2 + 1L

cspade> s3 <- cspade(t, parameter = list(support = 0.4, maxgap = 5))
Warning in Ops.factor(c(x), 1L) : ‘-’ not meaningful for factors
Segmentation fault
Error in cspade(t, parameter = list(support = 0.4, maxgap = 5)) : 
  system invocation failed
Calls: example ... example -> source -> withVisible -> eval -> eval -> cspade
Execution halted