This might be related to you updating some other parts of your system. It seems a similar error was resovled for another user by reinstalling Stan from source:
install.packages(c("StanHeaders","rstan"),type="source")
Hi there!
I am new to using stan and I am getting the same error code others are getting with the rstan package. I have tried the solutions from previous posts but these haven’t worked.
I am using R.4.0.3 on Windows
sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United Stat…
Would that also resolve your problem?