Error in brm compileCode involving RcppEigen?

Dear discourse.mc-stan:

I can usually get to the bottom of problems with R packages but this one has me stumped. brm loads okay and accepts commands but quits when it is trying to compile. Below I’m attaching the error messages plus information about my R installation and packages. I have checked to see if the problem has anything to do with Dropbox syncing and it does not.

Sincerely,

Niall Bolger
Columbia U.

#####################################################

brm(conformityfscore, data=Moore)
Compiling Stan program…
make cmd is
make -f “C:/PROGRA
1/R/R-411.2/etc/x64/Makeconf” -f “C:/PROGRA1/R/R-41~1.2/share/make/winshlib.mk” CXX=‘(CXX14) (CXX14STD)’ CXXFLAGS=‘(CXX14FLAGS)' CXXPICFLAGS='(CXX14PICFLAGS)’ SHLIB_LDFLAGS=‘(SHLIB_CXX14LDFLAGS)' SHLIB_LD='(SHLIB_CXX14LD)’ SHLIB=“file138442045337.dll” WIN=64 TCLBIN=64 OBJECTS=“file138442045337.o”

make would use
if test “zfile138442045337.o” != “z”; then
if test -e “file138442045337-win.def”; then
echo “C:/rtools40/mingw64/bin/“g++ -shared -s -static-libgcc -o file138442045337.dll file138442045337-win.def file138442045337.o “C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/rstan/lib/x64/libStanServices.a” -L"C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/StanHeaders/libs/x64” -lStanHeaders -L"C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/RcppParallel/lib/x64” -ltbb -LC:\Users\NIALLB1\Dropbox\MYPC(L1\DOCUME1\R\WIN-LI1\4.1\RCPPPA1\lib\x64 -ltbb -ltbbmalloc -L"C:/PROGRA1/R/R-411.2/bin/x64" -lR ;
“C:/rtools40/mingw64/bin/“g++ -shared -s -static-libgcc -o file138442045337.dll file138442045337-win.def file138442045337.o “C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/rstan/lib/x64/libStanServices.a” -L"C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/StanHeaders/libs/x64” -lStanHeaders -L"C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/RcppParallel/lib/x64” -ltbb -LC:\Users\NIALLB
1\Dropbox\MYPC(L1\DOCUME1\R\WIN-LI1\4.1\RCPPPA1\lib\x64 -ltbb -ltbbmalloc -L"C:/PROGRA1/R/R-411.2/bin/x64" -lR ;
else
echo EXPORTS > tmp.def;
“C:/rtools40/mingw64/bin/“nm file138442045337.o | sed -n ‘s/^.* [BCDRT] / /p’ | sed -e ‘/[.]refptr[.]/d’ -e ‘/[.]weak[.]/d’ | sed 's/[^ ][^ ]*/”&”/g’ >> tmp.def;
echo “C:/rtools40/mingw64/bin/“g++ -shared -s -static-libgcc -o file138442045337.dll tmp.def file138442045337.o “C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/rstan/lib/x64/libStanServices.a” -L"C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/StanHeaders/libs/x64” -lStanHeaders -L"C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/RcppParallel/lib/x64” -ltbb -LC:\Users\NIALLB1\Dropbox\MYPC(L1\DOCUME1\R\WIN-LI1\4.1\RCPPPA1\lib\x64 -ltbb -ltbbmalloc -L"C:/PROGRA1/R/R-411.2/bin/x64" -lR ;
“C:/rtools40/mingw64/bin/“g++ -shared -s -static-libgcc -o file138442045337.dll tmp.def file138442045337.o “C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/rstan/lib/x64/libStanServices.a” -L"C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/StanHeaders/libs/x64” -lStanHeaders -L"C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/RcppParallel/lib/x64” -ltbb -LC:\Users\NIALLB
1\Dropbox\MYPC(L1\DOCUME1\R\WIN-LI1\4.1\RCPPPA1\lib\x64 -ltbb -ltbbmalloc -L"C:/PROGRA1/R/R-411.2/bin/x64" -lR ;
rm -f tmp.def;
fi
fi
Error in compileCode(f, code, language = language, verbose = verbose) :
C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__vector(2) double’} [-Wignored-attributes] >::type PacketReturnType; ^~~~~~~~~~~~~~~~sh: -c: line 3: syntax error near unexpected token ('sh: -c: line 3: echo “C:/rtools40/mingw64/bin/“g++ -shared -s -static-libgcc -o file138442045337.dll file138442045337-win.def file138442045337.o “C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/rstan/lib/x64/libStanServices.a” -L"C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/StanHeaders/libs/x64” -lStanHeaders -L"C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1/RcppParallel/lib/x64” -ltbb -LC:\Users\NIALLB1\Dropbox\MYPC(L1\DOCUME1\R\WIN-LI
Error in sink(type = “output”) : invalid connection

#########################################
My R installation and packages:

print(.libPaths())
[1] “C:/Users/Niall Bolger/Dropbox/My PC (LAPTOP-5APLV4TQ)/Documents/R/win-library/4.1”
[2] “C:/Program Files/R/R-4.1.2/library”

print(sessionInfo())
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

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.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] car_3.0-12 carData_3.0-4 brms_2.16.1 Rcpp_1.0.7

loaded via a namespace (and not attached):
[1] minqa_1.2.4 colorspace_2.0-2 ellipsis_0.3.2
[4] ggridges_0.5.3 rsconnect_0.8.24 markdown_1.1
[7] base64enc_0.1-3 farver_2.1.0 rstan_2.26.4
[10] DT_0.20 fansi_0.5.0 mvtnorm_1.1-3
[13] bridgesampling_1.1-2 codetools_0.2-18 splines_4.1.2
[16] knitr_1.36 shinythemes_1.2.0 bayesplot_1.8.1
[19] projpred_2.0.2 jsonlite_1.7.2 nloptr_1.2.2.2
[22] shiny_1.7.1 compiler_4.1.2 backports_1.3.0
[25] assertthat_0.2.1 Matrix_1.3-4 fastmap_1.1.0
[28] cli_3.1.0 later_1.3.0 htmltools_0.5.2
[31] prettyunits_1.1.1 tools_4.1.2 igraph_1.2.7
[34] coda_0.19-4 gtable_0.3.0 glue_1.5.0
[37] reshape2_1.4.4 dplyr_1.0.7 posterior_1.1.0
[40] V8_3.4.2 vctrs_0.3.8 nlme_3.1-153
[43] crosstalk_1.2.0 tensorA_0.36.2 xfun_0.28
[46] stringr_1.4.0 ps_1.6.0 lme4_1.1-27.1
[49] mime_0.12 miniUI_0.1.1.1 lifecycle_1.0.1
[52] gtools_3.9.2 MASS_7.3-54 zoo_1.8-9
[55] scales_1.1.1 colourpicker_1.1.1 promises_1.2.0.1
[58] Brobdingnag_1.2-6 parallel_4.1.2 inline_0.3.19
[61] shinystan_2.5.0 gamm4_0.2-6 yaml_2.2.1
[64] curl_4.3.2 gridExtra_2.3 ggplot2_3.3.5
[67] loo_2.4.1 StanHeaders_2.26.4 stringi_1.7.5
[70] dygraphs_1.1.1.6 checkmate_2.0.0 boot_1.3-28
[73] pkgbuild_1.2.0 rlang_0.4.12 pkgconfig_2.0.3
[76] matrixStats_0.61.0 distributional_0.2.2 evaluate_0.14
[79] lattice_0.20-45 purrr_0.3.4 rstantools_2.1.1
[82] htmlwidgets_1.5.4 tidyselect_1.1.1 processx_3.5.2
[85] plyr_1.8.6 magrittr_2.0.1 R6_2.5.1
[88] generics_0.1.1 DBI_1.1.1 pillar_1.6.4
[91] withr_2.4.2 mgcv_1.8-38 xts_0.12.1
[94] abind_1.4-5 tibble_3.1.6 crayon_1.4.2
[97] utf8_1.2.2 rmarkdown_2.11 grid_4.1.2
[100] callr_3.7.0 threejs_0.3.3 digest_0.6.28
[103] xtable_1.8-4 httpuv_1.6.3 RcppParallel_5.1.4
[106] stats4_4.1.2 munsell_0.5.0 shinyjs_2.0.0

print(version)
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 4
minor 1.2
year 2021
month 11
day 01
svn rev 81115
language R
version.string R version 4.1.2 (2021-11-01)
nickname Bird Hippie