You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following installation instructions and running on Mac OS yields /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:9:10: fatal error: 'tbb/tbb_stddef.h' file not found.
Got around this by copy/pasting PKG_LIBS and PKG_CPPFLAGS from the output of example(stan_model, package = "rstan", run.dontrun = TRUE, verbose=TRUE) to Makevars. This works in the Docker image build too.
It looks like those values change depending on the operating system, and need to exist in Makevars before installation...perhaps something like sed could do this?
Another problem: the output of min ( int, int ); in the .stan files returns real.
The quick fix in src/stan_files/symptom_report_model.stan, line 95:
Following installation instructions and running on Mac OS yields
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:9:10: fatal error: 'tbb/tbb_stddef.h' file not found
.Got around this by copy/pasting
PKG_LIBS
andPKG_CPPFLAGS
from the output ofexample(stan_model, package = "rstan", run.dontrun = TRUE, verbose=TRUE)
toMakevars
. This works in the Docker image build too.It looks like those values change depending on the operating system, and need to exist in
Makevars
before installation...perhaps something likesed
could do this?Another problem: the output of min ( int, int ); in the .stan files returns real.
The quick fix in
src/stan_files/symptom_report_model.stan
, line 95:And in
src/stan_files/symptom_report_model_gamma.stan
, line 83:The text was updated successfully, but these errors were encountered: