About the brms category

This category is for questions regarding the installation and use of brms. If you have installation issues then please provide as much information about your system as possible.

Hi! Thanks for making this thread available. I am trying to use brms to run IRT models using Bayesian priors. I can get the vignette data(“VerbAgg”, package = “lme4”) to work up until this line of code:
fit_va_1pl ← brm(formula = formula_va_1pl, data = VerbAgg,family = brmsfamily(“bernoulli”, “logit”), prior = prior_va_1pl)

Then errors:

Error in compileCode(f, code, language = language, verbose = verbose) :
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: file688175c9bf.o:file688175c9bf:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D0Ev[_ZN3tbb8internal26task_scheduler_observer_v3D0Ev]+0x1d): undefined reference to tbb::internal::task_scheduler_observer_v3::observe(bool)'C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: file688175c9bf.o:file688175c9bf:(.text$_ZN3tbb10interface623task_scheduler_observerD1Ev[_ZN3tbb10interface623task_scheduler_observerD1Ev]+0x1d): undefined reference to tbb::internal::task_scheduler_observer_v3::observe(bool)'C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: file688175c9bf.o:file688175c9bf:(.text$_ZN3tbb10interface623task_scheduler_observerD1Ev[_ZN3tbb10interface623task_scheduler_observerD1Ev]+0x3a): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: file688175c9bf.o:file688175c9bf:(.text$ZN3tbb10interface623task_scheduler_observerD0Ev[
Error in sink(type = “output”) : invalid connection

In reading around, it seems it could be a problem with the version of rstan.

Here are my details:
Windows 10 Enterprise
Intel(R) Core™ i5-8350U CPU @ 1.70GHz 1.90 GHz
tried R Versions 4.2.0 and 4.3.0
side note: I “believe” I have rTools42 properly installed

From what I am reading and the error message I am getting it could be the version of RStan currently available on CRAN is not compatible with R4.2 (or 4.3), some have stated that installing the preview of rstan 2.26 could solve this.

Any suggestions? I am not a programmer, just a user who wants to fit IRT models using brms. Thanks!