Stan cannot find brms required package

Planning to run a truncated regression using brms, but am hitting some error messages along the way. Here are some key pieces of information regarding the error:

* Operating System: MacOS 11.4 (Big Sur)
* R Version: 4.1.0
* R Studio Version: 1.4.1717
* brms Version: 2.15.0
* I also updated all libraries and dependencies.

Experiencing the following error message, even after re-installing and confirming the RcppEigen library is active in R:
> Compiling Stan program...
> Error in .fun(model_code = .x1) :
> Eigen not found; call install.packages('RcppEigen')

Please advise

It tells you to instal rcppeigen. Did you do that?

Yes -

Experiencing the following error message, even after re-installing and confirming the RcppEigen library is active in R:

Can you post the output from:

library(RcppEigen)
devtools::session_info("rstan")

Thanks for the recommendation. For some reason, the model ran today when I opened it without any RcppEigen or other errors. I’m not sure what may have caused this, as restarting my computer is about the only thing I’ve done in the past 24 hours that would have affected R. At any rate, the problem appears to be solved.

Thanks for the help. :)