CRAN Package Check Results for Package flocker

Last updated on 2026-10-17 06:50:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0-2 19.34 660.58 679.92 OK
r-devel-linux-x86_64-debian-gcc 1.1-0 12.31 667.66 679.97 OK
r-devel-linux-x86_64-fedora-clang 1.1-0 14.00 265.51 279.51 OK
r-devel-linux-x86_64-fedora-gcc 1.1-0 14.00 432.66 446.66 OK
r-devel-windows-x86_64 1.0-2 26.00 234.00 260.00 ERROR
r-patched-linux-x86_64 1.0-2 17.37 699.50 716.87 OK
r-release-linux-x86_64 1.0-2 16.95 685.95 702.90 OK
r-release-macos-arm64 1.1-0 6.00 106.00 112.00 OK
r-release-macos-x86_64 1.1-0 19.00 851.00 870.00 OK
r-release-windows-x86_64 1.0-2 25.00 224.00 249.00 ERROR
r-oldrel-macos-arm64 1.1-0 8.00 135.00 143.00 OK
r-oldrel-macos-x86_64 1.1-0 18.00 902.00 920.00 OK
r-oldrel-windows-x86_64 1.1-0 37.00 154.00 191.00 OK

Check Details

Version: 1.0-2
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [135s] 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="file4dae8675360df.dll" WIN=64 TCLBIN= OBJECTS="file4dae8675360df.o" make would use make[1]: Entering directory '/d/temp/2026_10_15_10_16_52_18621/Rtmpa2r8F8' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.7/Rcpp/include/" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp8yhOuv/RLIBS_42f4870541eb6/RcppEigen/include/" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp8yhOuv/RLIBS_42f4870541eb6/RcppEigen/include/unsupported" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp8yhOuv/RLIBS_42f4870541eb6/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 file4dae8675360df.cpp -o file4dae8675360df.o if test "zfile4dae8675360df.o" != "z"; then \ if test -e "file4dae8675360df-win.def"; then \ echo g++ -shared -s -static-libgcc -o file4dae8675360df.dll file4dae8675360df-win.def file4dae8675360df.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 file4dae8675360df.dll file4dae8675360df-win.def file4dae8675360df.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 file4dae8675360df.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 file4dae8675360df.dll tmp.def file4dae8675360df.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 file4dae8675360df.dll tmp.def file4dae8675360df.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_10_15_10_16_52_18621/Rtmpa2r8F8' 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="file4dae81bb84643.dll" WIN=64 TCLBIN= OBJECTS="file4dae81bb84643.o" make would use make[1]: Entering directory '/d/temp/2026_10_15_10_16_52_18621/Rtmpa2r8F8' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.7/Rcpp/include/" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp8yhOuv/RLIBS_42f4870541eb6/RcppEigen/include/" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp8yhOuv/RLIBS_42f4870541eb6/RcppEigen/include/unsupported" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp8yhOuv/RLIBS_42f4870541eb6/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 file4dae81bb84643.cpp -o file4dae81bb84643.o if test "zfile4dae81bb84643.o" != "z"; then \ if test -e "file4dae81bb84643-win.def"; then \ echo g++ -shared -s -static-libgcc -o file4dae81bb84643.dll file4dae81bb84643-win.def file4dae81bb84643.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 file4dae81bb84643.dll file4dae81bb84643-win.def file4dae81bb84643.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 file4dae81bb84643.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 file4dae81bb84643.dll tmp.def file4dae81bb84643.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 file4dae81bb84643.dll tmp.def file4dae81bb84643.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_10_15_10_16_52_18621/Rtmpa2r8F8' Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `compileCode()`: ! del = model4dae83cbcd25__namespace::model4dae83cbcd25_; 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: file4dae81bb84643.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' [131s] 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="file4c94c3dbd1350.dll" WIN=64 TCLBIN= OBJECTS="file4c94c3dbd1350.o" make would use make[1]: Entering directory '/d/temp/2026_10_14_01_50_00_30378/RtmpGkAnCy' 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_10_14_01_50_00_30378/Rtmp4g2xY3/RLIBS_2afcc2a597435/RcppEigen/include/" -I"D:/temp/2026_10_14_01_50_00_30378/Rtmp4g2xY3/RLIBS_2afcc2a597435/RcppEigen/include/unsupported" -I"D:/temp/2026_10_14_01_50_00_30378/Rtmp4g2xY3/RLIBS_2afcc2a597435/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 file4c94c3dbd1350.cpp -o file4c94c3dbd1350.o if test "zfile4c94c3dbd1350.o" != "z"; then \ if test -e "file4c94c3dbd1350-win.def"; then \ echo g++ -shared -s -static-libgcc -o file4c94c3dbd1350.dll file4c94c3dbd1350-win.def file4c94c3dbd1350.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 file4c94c3dbd1350.dll file4c94c3dbd1350-win.def file4c94c3dbd1350.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 file4c94c3dbd1350.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 file4c94c3dbd1350.dll tmp.def file4c94c3dbd1350.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 file4c94c3dbd1350.dll tmp.def file4c94c3dbd1350.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_10_14_01_50_00_30378/RtmpGkAnCy' 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="file4c94cb541aac.dll" WIN=64 TCLBIN= OBJECTS="file4c94cb541aac.o" make would use make[1]: Entering directory '/d/temp/2026_10_14_01_50_00_30378/RtmpGkAnCy' 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_10_14_01_50_00_30378/Rtmp4g2xY3/RLIBS_2afcc2a597435/RcppEigen/include/" -I"D:/temp/2026_10_14_01_50_00_30378/Rtmp4g2xY3/RLIBS_2afcc2a597435/RcppEigen/include/unsupported" -I"D:/temp/2026_10_14_01_50_00_30378/Rtmp4g2xY3/RLIBS_2afcc2a597435/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 file4c94cb541aac.cpp -o file4c94cb541aac.o if test "zfile4c94cb541aac.o" != "z"; then \ if test -e "file4c94cb541aac-win.def"; then \ echo g++ -shared -s -static-libgcc -o file4c94cb541aac.dll file4c94cb541aac-win.def file4c94cb541aac.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 file4c94cb541aac.dll file4c94cb541aac-win.def file4c94cb541aac.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 file4c94cb541aac.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 file4c94cb541aac.dll tmp.def file4c94cb541aac.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 file4c94cb541aac.dll tmp.def file4c94cb541aac.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_10_14_01_50_00_30378/RtmpGkAnCy' Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `compileCode()`: ! odel4c94c4f3210e0__namespace::model4c94c4f3210e0_; 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: file4c94cb541aac.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