CRAN Package Check Results for Maintainer ‘Sergio Venturini <sergio.venturini at unibocconi.it>’

Last updated on 2024-05-17 01:52:45 CEST.

Package ERROR OK
GSM 1 11

Package GSM

Current CRAN status: ERROR: 1, OK: 11

Version: 1.3.2
Check: tests
Result: ERROR Running ‘test.R’ [70s/87s] 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 0x5604fa860030, 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