Last updated on 2024-05-18 02:52:38 CEST.
Package | ERROR | OK |
---|---|---|
GSM | 1 | 11 |
Current CRAN status: ERROR: 1, OK: 11
Version: 1.3.2
Check: tests
Result: ERROR
Running ‘test.R’ [72s/86s]
Running the tests in ‘tests/test.R’ failed.
Complete output:
> library(GSM)
Loading required package: gtools
Package GSM (1.3.2) loaded.
To cite, see citation("GSM")
>
> # simulate some data
> set.seed(2040)
> y <- rgsm(500, c(.1, .3, .4, .2), 1)
>
> # fit the model
> burnin <- 500
> mcmcsim <- 1000
> J <- 300
> gsm.out <- estim.gsm(y, J, 300, burnin + mcmcsim, 6500, 340, 1/J)
[1] "simulation 100 / 1500"
[1] "simulation 200 / 1500"
[1] "simulation 300 / 1500"
[1] "simulation 400 / 1500"
[1] "simulation 500 / 1500"
[1] "simulation 600 / 1500"
[1] "simulation 700 / 1500"
[1] "simulation 800 / 1500"
*** caught segfault ***
address 0x55e0d0c67060, cause 'memory not mapped'
Traceback:
1: sample(1:J, 1, prob = pi)
2: estim.gsm(y, J, 300, burnin + mcmcsim, 6500, 340, 1/J)
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault
Flavor: r-devel-linux-x86_64-debian-clang