Thanks for helping! I updated StanHeaders
, inline
, and rstan
packages. Now I get the following error:
Compilation ERROR, function(s)/method(s) not created!
Error in compileCode(f, code, language = language, verbose = verbose) :
C:/rtools40/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/8.3.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: file3ee078575c35.o:file3ee078575c35.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D1Ev[_ZN3tbb8internal26task_scheduler_observer_v3D1Ev]+0x14): undefined reference totbb::internal::task_scheduler_observer_v3::observe(bool)'C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: file3ee078575c35.o:file3ee078575c35.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D0Ev[_ZN3tbb8internal26task_scheduler_observer_v3D0Ev]+0x1c): undefined reference to
tbb::internal::task_scheduler_observer_v3::observe(bool)‘C:/rtools40/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/8.3.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: file3ee078575c35.o:file3ee078575c35.cpp:(.text$_ZN4stan4math16ad_tape_observerD1Ev[ZN4stan4math16ad_tape_observerD1Ev]+0x15): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'C:/rt
In addition: Warning message:
In system(paste(CXX, ARGS), ignore.stdout = TRUE, ignore.stderr = TRUE) :
'C:/rtools40/usr/mingw/bin/g++’ not found
sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252attached base packages:
[1] stats graphics grDevices utils datasets methods baseother attached packages:
[1] rstan_2.21.2 ggplot2_3.3.2 StanHeaders_2.21.0-6 RevoUtils_11.0.2 RevoUtilsMath_11.0.0loaded via a namespace (and not attached):
[1] Rcpp_1.0.5 pillar_1.4.6 compiler_4.0.2 prettyunits_1.1.1 tools_4.0.2 pkgbuild_1.1.0
[7] jsonlite_1.7.0 lifecycle_0.2.0 tibble_3.0.3 gtable_0.3.0 pkgconfig_2.0.3 rlang_0.4.7
[13] cli_2.0.2 rstudioapi_0.11 parallel_4.0.2 curl_4.3 loo_2.3.1 gridExtra_2.3
[19] withr_2.2.0 dplyr_1.0.0 generics_0.0.2 vctrs_0.3.2 stats4_4.0.2 grid_4.0.2
[25] tidyselect_1.1.0 glue_1.4.1 inline_0.3.16 R6_2.4.1 processx_3.4.3 fansi_0.4.1
[31] purrr_0.3.4 callr_3.4.3 magrittr_1.5 codetools_0.2-16 matrixStats_0.56.0 scales_1.1.1
[37] ps_1.3.3 ellipsis_0.3.1 assertthat_0.2.1 colorspace_1.4-1 V8_3.2.0 RcppParallel_5.0.2
[43] munsell_0.5.0 crayon_1.3.4