Brms inside Rmarkdown: "R CMD SHLIB foo.c" fails

I am cleaning an Rmarkdown file for publication, and I got this error message when compiling the model with brms 213.5, rstan 2.21.2 and R 4.0.2 on Arch Linux. gcc seems to fail to compile foo.c, but then in the next message the sampling is beginning. I guess the message is harmless, but how can I get rid of it?

This page here has pretty much the same error:

I think it will be OK if you install the newest StanHeaders from CRAN.

1 Like