I’m fairly new to STAN - apologies if this is a dumb question.
I’m using rstan in R to run some models on a HPC system (because models take many hours to run), but I’m running into a strange error that I can’t seem to figure out:
Error in FUN(X[[i]], …) :
Stan does not support NA (in transectID) in data
failed to preprocess the data; sampling not done
I’ve double-checked the data, and there are no NAs or missing values. When I start running the same model on my laptop, there are no errors and the model seems to runs fine. The only R packages I’m using are plyr and rstan. On my laptop I have R 3.6.1 with rstan version 2.19.2, plyr 1.8.4. On the HPC, it’s running R 3.5.1 with rstan 2.18.1, plyr 1.8.4. Could those differences in the versions of R/rstan be the source of my problem or should I be looking into something else entirely?
Thanks in advance for any advice you might be able to share!