CRAN Package Check Results for Package flocker

Last updated on 2026-09-11 17:50:20 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0-2 19.19 533.52 552.71 OK
r-devel-linux-x86_64-debian-gcc 1.0-2 14.46 491.12 505.58 OK
r-devel-linux-x86_64-fedora-clang 1.0-2 13.00 248.78 261.78 OK
r-devel-linux-x86_64-fedora-gcc 1.0-2 13.00 384.67 397.67 OK
r-devel-windows-x86_64 1.0-2 27.00 230.00 257.00 ERROR
r-patched-linux-x86_64 1.0-2 19.26 604.66 623.92 OK
r-release-linux-x86_64 1.0-2 19.00 576.66 595.66 OK
r-release-macos-arm64 1.0-2 6.00 106.00 112.00 OK
r-release-macos-x86_64 1.0-2 18.00 388.00 406.00 OK
r-release-windows-x86_64 1.0-2 24.00 221.00 245.00 ERROR
r-oldrel-macos-arm64 1.0-2 OK
r-oldrel-macos-x86_64 1.0-2 18.00 534.00 552.00 OK
r-oldrel-windows-x86_64 1.0-2 37.00 271.00 308.00 ERROR

Check Details

Version: 1.0-2
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [136s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(flocker) > > test_check("flocker") specified C++17 make cmd is make -f "D:/RCompile/recent/R/etc/x64/Makeconf" -f "D:/RCompile/recent/R/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file320043a282601.dll" WIN=64 TCLBIN= OBJECTS="file320043a282601.o" make would use make[1]: Entering directory '/d/temp/2026_09_07_09_29_56_3012/Rtmpe0OXZh' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.7/Rcpp/include/" -I"D:/temp/2026_09_07_09_29_56_3012/RtmpIT2eg0/RLIBS_166a0310064d7/RcppEigen/include/" -I"D:/temp/2026_09_07_09_29_56_3012/RtmpIT2eg0/RLIBS_166a0310064d7/RcppEigen/include/unsupported" -I"D:/temp/2026_09_07_09_29_56_3012/RtmpIT2eg0/RLIBS_166a0310064d7/BH/include" -I"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.7/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.7/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_HAS_AUTO_PTR_ETC=0 -include "D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/stan/math/prim/fun/Eigen.hpp" -std=c++1y -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c file320043a282601.cpp -o file320043a282601.o if test "zfile320043a282601.o" != "z"; then \ if test -e "file320043a282601-win.def"; then \ echo g++ -shared -s -static-libgcc -o file320043a282601.dll file320043a282601-win.def file320043a282601.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file320043a282601.dll file320043a282601-win.def file320043a282601.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm file320043a282601.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo g++ -shared -s -static-libgcc -o file320043a282601.dll tmp.def file320043a282601.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file320043a282601.dll tmp.def file320043a282601.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_09_07_09_29_56_3012/Rtmpe0OXZh' Error in sink(type = "output") : invalid connection specified C++17 make cmd is make -f "D:/RCompile/recent/R/etc/x64/Makeconf" -f "D:/RCompile/recent/R/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file32004caca6e.dll" WIN=64 TCLBIN= OBJECTS="file32004caca6e.o" make would use make[1]: Entering directory '/d/temp/2026_09_07_09_29_56_3012/Rtmpe0OXZh' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.7/Rcpp/include/" -I"D:/temp/2026_09_07_09_29_56_3012/RtmpIT2eg0/RLIBS_166a0310064d7/RcppEigen/include/" -I"D:/temp/2026_09_07_09_29_56_3012/RtmpIT2eg0/RLIBS_166a0310064d7/RcppEigen/include/unsupported" -I"D:/temp/2026_09_07_09_29_56_3012/RtmpIT2eg0/RLIBS_166a0310064d7/BH/include" -I"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.7/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.7/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_HAS_AUTO_PTR_ETC=0 -include "D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/stan/math/prim/fun/Eigen.hpp" -std=c++1y -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c file32004caca6e.cpp -o file32004caca6e.o if test "zfile32004caca6e.o" != "z"; then \ if test -e "file32004caca6e-win.def"; then \ echo g++ -shared -s -static-libgcc -o file32004caca6e.dll file32004caca6e-win.def file32004caca6e.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file32004caca6e.dll file32004caca6e-win.def file32004caca6e.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm file32004caca6e.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo g++ -shared -s -static-libgcc -o file32004caca6e.dll tmp.def file32004caca6e.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file32004caca6e.dll tmp.def file32004caca6e.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_09_07_09_29_56_3012/Rtmpe0OXZh' Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `compileCode()`: ! del = model320045bc85bf2__namespace::model320045bc85bf2_; BaseRNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]' 22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p; D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:21:0: required from here 21 | double T(dense_e_point& z) { D:/RCompile/CRANpkg/lib/4.7/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes] 654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m); | ^~~~~~~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: file32004caca6e.o] Error 1 Backtrace: ▆ 1. ├─testthat::test_check("flocker") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─base::suppressWarnings(...) at ./setup.R:11:3 15. │ │ └─base::withCallingHandlers(...) 16. │ └─flocker::flock(...) at ./setup.R:12:5 17. │ └─flocker:::flock_(...) 18. │ └─flocker:::flocker_fit_code_util(...) 19. │ └─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ ├─pkgbuild::with_build_tools(...) 36. │ │ └─pkgbuild:::withr_with_path(rtools_path(), code) 37. │ │ └─base::force(code) 38. │ └─inline::cxxfunction(...) 39. │ └─inline:::compileCode(f, code, language = language, verbose = verbose) 40. │ └─base::stop(...) 41. └─base::.handleSimpleError(...) 42. └─testthat (local) h(simpleError(msg, call)) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `sink()`: ! invalid connection Backtrace: ▆ 1. ├─testthat::test_check("flocker") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─base::suppressWarnings(...) at ./setup.R:11:3 15. │ │ └─base::withCallingHandlers(...) 16. │ └─flocker::flock(...) at ./setup.R:12:5 17. │ └─flocker:::flock_(...) 18. │ └─flocker:::flocker_fit_code_util(...) 19. │ └─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ └─base::sink(type = "output") 36. └─base::.handleSimpleError(`<fn>`, "invalid connection", base::quote(sink(type = "output"))) 37. └─testthat (local) h(simpleError(msg, call)) 38. └─cli::cli_abort(...) 39. └─rlang::abort(...) Execution halted Flavor: r-devel-windows-x86_64

Version: 1.0-2
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [130s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(flocker) > > test_check("flocker") specified C++17 make cmd is make -f "D:/RCompile/recent/R-4.6.1/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.6.1/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file5d26830540f7.dll" WIN=64 TCLBIN= OBJECTS="file5d26830540f7.o" make would use make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/RtmpE32ol5' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpykzSrF/RLIBS_4b73832df58eb/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpykzSrF/RLIBS_4b73832df58eb/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpykzSrF/RLIBS_4b73832df58eb/BH/include" -I"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.6/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.6/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_HAS_AUTO_PTR_ETC=0 -include "D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp" -std=c++1y -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c file5d26830540f7.cpp -o file5d26830540f7.o if test "zfile5d26830540f7.o" != "z"; then \ if test -e "file5d26830540f7-win.def"; then \ echo g++ -shared -s -static-libgcc -o file5d26830540f7.dll file5d26830540f7-win.def file5d26830540f7.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file5d26830540f7.dll file5d26830540f7-win.def file5d26830540f7.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm file5d26830540f7.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo g++ -shared -s -static-libgcc -o file5d26830540f7.dll tmp.def file5d26830540f7.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file5d26830540f7.dll tmp.def file5d26830540f7.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_09_09_01_50_00_18435/RtmpE32ol5' Error in sink(type = "output") : invalid connection specified C++17 make cmd is make -f "D:/RCompile/recent/R-4.6.1/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.6.1/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file5d268743f155c.dll" WIN=64 TCLBIN= OBJECTS="file5d268743f155c.o" make would use make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/RtmpE32ol5' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpykzSrF/RLIBS_4b73832df58eb/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpykzSrF/RLIBS_4b73832df58eb/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpykzSrF/RLIBS_4b73832df58eb/BH/include" -I"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.6/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.6/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_HAS_AUTO_PTR_ETC=0 -include "D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp" -std=c++1y -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c file5d268743f155c.cpp -o file5d268743f155c.o if test "zfile5d268743f155c.o" != "z"; then \ if test -e "file5d268743f155c-win.def"; then \ echo g++ -shared -s -static-libgcc -o file5d268743f155c.dll file5d268743f155c-win.def file5d268743f155c.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file5d268743f155c.dll file5d268743f155c-win.def file5d268743f155c.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm file5d268743f155c.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo g++ -shared -s -static-libgcc -o file5d268743f155c.dll tmp.def file5d268743f155c.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file5d268743f155c.dll tmp.def file5d268743f155c.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_09_09_01_50_00_18435/RtmpE32ol5' Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `compileCode()`: ! model5d2685bb28f7__namespace::model5d2685bb28f7_; BaseRNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]' 22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p; D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:21:0: required from here 21 | double T(dense_e_point& z) { D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes] 654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m); | ^~~~~~~~~ make[1]: *** [D:/RCompile/recent/R-4.6.1/etc/x64/Makeconf:304: file5d268743f155c.o] Error 1 Backtrace: ▆ 1. ├─testthat::test_check("flocker") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─base::suppressWarnings(...) at ./setup.R:11:3 15. │ │ └─base::withCallingHandlers(...) 16. │ └─flocker::flock(...) at ./setup.R:12:5 17. │ └─flocker:::flock_(...) 18. │ └─flocker:::flocker_fit_code_util(...) 19. │ └─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ ├─pkgbuild::with_build_tools(...) 36. │ │ └─pkgbuild:::withr_with_path(rtools_path(), code) 37. │ │ └─base::force(code) 38. │ └─inline::cxxfunction(...) 39. │ └─inline:::compileCode(f, code, language = language, verbose = verbose) 40. │ └─base::stop(...) 41. └─base::.handleSimpleError(...) 42. └─testthat (local) h(simpleError(msg, call)) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `sink()`: ! invalid connection Backtrace: ▆ 1. ├─testthat::test_check("flocker") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─base::suppressWarnings(...) at ./setup.R:11:3 15. │ │ └─base::withCallingHandlers(...) 16. │ └─flocker::flock(...) at ./setup.R:12:5 17. │ └─flocker:::flock_(...) 18. │ └─flocker:::flocker_fit_code_util(...) 19. │ └─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ └─base::sink(type = "output") 36. └─base::.handleSimpleError(`<fn>`, "invalid connection", base::quote(sink(type = "output"))) 37. └─testthat (local) h(simpleError(msg, call)) 38. └─cli::cli_abort(...) 39. └─rlang::abort(...) Execution halted Flavor: r-release-windows-x86_64

Version: 1.0-2
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [162s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(flocker) > > test_check("flocker") make cmd is make -f "D:/RCompile/recent/R-4.5.3/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.5.3/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file4da46ca46790.dll" WIN=64 TCLBIN= OBJECTS="file4da46ca46790.o" make would use make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/Rtmp61NJpp' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpOonh1M/RLIBS_5318554a74f0/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpOonh1M/RLIBS_5318554a74f0/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpOonh1M/RLIBS_5318554a74f0/BH/include" -I"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.5/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.5/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_HAS_AUTO_PTR_ETC=0 -include "D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp" -std=c++1y -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c file4da46ca46790.cpp -o file4da46ca46790.o if test "zfile4da46ca46790.o" != "z"; then \ if test -e "file4da46ca46790-win.def"; then \ echo g++ -shared -s -static-libgcc -o file4da46ca46790.dll file4da46ca46790-win.def file4da46ca46790.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file4da46ca46790.dll file4da46ca46790-win.def file4da46ca46790.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm file4da46ca46790.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo g++ -shared -s -static-libgcc -o file4da46ca46790.dll tmp.def file4da46ca46790.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file4da46ca46790.dll tmp.def file4da46ca46790.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_09_09_01_50_00_18435/Rtmp61NJpp' Error in sink(type = "output") : invalid connection make cmd is make -f "D:/RCompile/recent/R-4.5.3/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.5.3/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file4da4504511fb.dll" WIN=64 TCLBIN= OBJECTS="file4da4504511fb.o" make would use make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/Rtmp61NJpp' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpOonh1M/RLIBS_5318554a74f0/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpOonh1M/RLIBS_5318554a74f0/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpOonh1M/RLIBS_5318554a74f0/BH/include" -I"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.5/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.5/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_HAS_AUTO_PTR_ETC=0 -include "D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp" -std=c++1y -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c file4da4504511fb.cpp -o file4da4504511fb.o if test "zfile4da4504511fb.o" != "z"; then \ if test -e "file4da4504511fb-win.def"; then \ echo g++ -shared -s -static-libgcc -o file4da4504511fb.dll file4da4504511fb-win.def file4da4504511fb.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file4da4504511fb.dll file4da4504511fb-win.def file4da4504511fb.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm file4da4504511fb.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo g++ -shared -s -static-libgcc -o file4da4504511fb.dll tmp.def file4da4504511fb.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file4da4504511fb.dll tmp.def file4da4504511fb.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_09_09_01_50_00_18435/Rtmp61NJpp' Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `compileCode()`: ! = model4da4da66515__namespace::model4da4da66515_; BaseRNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]' 22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p; D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:21:0: required from here 21 | double T(dense_e_point& z) { D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes] 654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m); | ^~~~~~~~~ make[1]: *** [D:/RCompile/recent/R-4.5.3/etc/x64/Makeconf:302: file4da4504511fb.o] Error 1 Backtrace: ▆ 1. ├─testthat::test_check("flocker") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─base::suppressWarnings(...) at ./setup.R:11:3 15. │ │ └─base::withCallingHandlers(...) 16. │ └─flocker::flock(...) at ./setup.R:12:5 17. │ └─flocker:::flock_(...) 18. │ └─flocker:::flocker_fit_code_util(...) 19. │ └─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ ├─pkgbuild::with_build_tools(...) 36. │ │ └─pkgbuild:::withr_with_path(rtools_path(), code) 37. │ │ └─base::force(code) 38. │ └─inline::cxxfunction(...) 39. │ └─inline:::compileCode(f, code, language = language, verbose = verbose) 40. │ └─base::stop(...) 41. └─base::.handleSimpleError(...) 42. └─testthat (local) h(simpleError(msg, call)) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `sink()`: ! invalid connection Backtrace: ▆ 1. ├─testthat::test_check("flocker") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─base::suppressWarnings(...) at ./setup.R:11:3 15. │ │ └─base::withCallingHandlers(...) 16. │ └─flocker::flock(...) at ./setup.R:12:5 17. │ └─flocker:::flock_(...) 18. │ └─flocker:::flocker_fit_code_util(...) 19. │ └─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ └─base::sink(type = "output") 36. └─base::.handleSimpleError(`<fn>`, "invalid connection", base::quote(sink(type = "output"))) 37. └─testthat (local) h(simpleError(msg, call)) 38. └─cli::cli_abort(...) 39. └─rlang::abort(...) Execution halted Flavor: r-oldrel-windows-x86_64