I am trying to fit a model using stan_surv from the rstanarm package. The crash happens when I try to fit this model:
fit <- stan_surv(Surv(time, event) ~ 1, data = df, basehaz = 'exp')
The model (and any other stan_surv model that I have tried) immediate sends an error that says
====== C stack trace ==========
RaiseException [...
and the R crashes. R and all packages are up-to-date. System information:
R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
AMD Ryzen 9 9350X 16-core processor, 64 GB RAM
Running under: Windows 10 x64 (build 19041)
rstanarm_2.21.2
rstan_2.21.2
Interestingly, this crash occurs on my desktop PC (my supposed power computer for running Bayesian things) and did not occur on my MS SurfacePro laptop last night. Both are running what I believe to be the same versions of rstan and rstanarm.
I have no idea why this happening. Everything else in R seems to be working, including accessing stan via survHE. So I suspect this is an rstanarm problem. No idea how to check. Help appreciated.
Brant