Last updated on 2024-11-08 00:49:56 CET.
Package | ERROR | OK |
---|---|---|
seqSHP | 13 | |
TraMineR | 1 | 12 |
TraMineRextras | 1 | 12 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 2.2-10
Check: examples
Result: ERROR
Running examples in ‘TraMineR-Ex.R’ failed
The error most likely occurred in:
> ### Name: actcal.tse
> ### Title: Example data set: Activity calendar from the Swiss Household
> ### Panel (time stamped event format)
> ### Aliases: actcal.tse
> ### Keywords: Datasets
>
> ### ** Examples
>
> data(actcal)
> actcal.seq <- seqdef(actcal[,13:24])
[>] 4 distinct states appear in the data:
1 = A
2 = B
3 = C
4 = D
[>] state coding:
[alphabet] [label] [long label]
1 A A A
2 B B B
3 C C C
4 D D D
[>] 2000 sequences in the data set
[>] min/max sequence length: 12/12
>
> ## Defining the transition matrix
> transition <- seqetm(actcal.seq, method="transition")
> transition[1,1:4] <- c("FullTime" , "Decrease,PartTime",
+ "Decrease,LowPartTime", "Stop")
> transition[2,1:4] <- c("Increase,FullTime", "PartTime" ,
+ "Decrease,LowPartTime", "Stop")
> transition[3,1:4] <- c("Increase,FullTime", "Increase,PartTime",
+ "LowPartTime" , "Stop")
> transition[4,1:4] <- c("Start,FullTime" , "Start,PartTime" ,
+ "Start,LowPartTime" , "NoActivity")
> transition
A B C D
A "FullTime" "Decrease,PartTime" "Decrease,LowPartTime" "Stop"
B "Increase,FullTime" "PartTime" "Decrease,LowPartTime" "Stop"
C "Increase,FullTime" "Increase,PartTime" "LowPartTime" "Stop"
D "Start,FullTime" "Start,PartTime" "Start,LowPartTime" "NoActivity"
>
> ## Converting STS data to TSE
> actcal.tse <- seqformat(actcal, 13:24, from = "STS",to = "TSE",
+ tevent = transition)
[!!] 'id' set to NULL as it is not specified (backward compatibility with TraMineR 1.8)
[!!] replacing original IDs in the output by the sequence indexes
[>] converting STS sequences to 2954 TSE sequences
>
> ## Defining the event sequence object
> actcal.eseq <- seqecreate(id=actcal.tse$id,
+ time=actcal.tse$time, event=actcal.tse$event)
*** caught segfault ***
address 0x1, cause 'memory not mapped'
Traceback:
1: seqecreate.internal(data = data, id = id, timestamp = timestamp, event = event, end.event = end.event, tevent = tevent, use.labels = use.labels, order.before = FALSE, weighted = weighted)
2: seqecreate(id = actcal.tse$id, time = actcal.tse$time, event = actcal.tse$event)
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-devel-linux-x86_64-fedora-gcc
Current CRAN status: ERROR: 1, OK: 12
Version: 0.6.8
Check: examples
Result: ERROR
Running examples in ‘TraMineRextras-Ex.R’ failed
The error most likely occurred in:
> ### Name: FCE_to_TSE
> ### Title: Data conversion from Fixed Column Event format to TSE.
> ### Aliases: FCE_to_TSE
> ### Keywords: data format
>
> ### ** Examples
>
> ## Generate a ramdom data set
> fce <- data.frame(id=1:100, event1=runif(100), event2=runif(100))
>
> ## Add missing values (ie non-occurrences)
> fce[runif(100)<0.1, "event1"] <- NA
> fce[runif(100)<0.1, "event2"] <- NA
>
> tse <- FCE_to_TSE(fce, id="id", cols=c("event1", "event2"),
+ eventlist=c("Marriage", "Child birth"), firstEvent="Birth")
>
> seq <- seqecreate(tse)
*** caught segfault ***
address 0x1, cause 'memory not mapped'
Traceback:
1: seqecreate.internal(data = data, id = id, timestamp = timestamp, event = event, end.event = end.event, tevent = tevent, use.labels = use.labels, order.before = FALSE, weighted = weighted)
2: seqecreate(tse)
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-devel-linux-x86_64-fedora-gcc