CRAN Package Check Results for Package priorsense

Last updated on 2026-09-09 06:51:20 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 6.74 510.98 517.72 OK
r-devel-linux-x86_64-debian-gcc 1.2.0 4.57 513.17 517.74 OK
r-devel-linux-x86_64-fedora-clang 1.2.0 241.79 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 382.09 OK
r-devel-windows-x86_64 1.2.0 11.00 324.00 335.00 ERROR
r-patched-linux-x86_64 1.2.0 7.03 580.56 587.59 OK
r-release-linux-x86_64 1.2.0 4.91 591.57 596.48 OK
r-release-macos-arm64 1.2.0 2.00 88.00 90.00 OK
r-release-macos-x86_64 1.2.0 5.00 461.00 466.00 OK
r-release-windows-x86_64 1.2.0 9.00 759.00 768.00 OK
r-oldrel-macos-arm64 1.2.0 OK
r-oldrel-macos-x86_64 1.2.0 5.00 725.00 730.00 OK
r-oldrel-windows-x86_64 1.2.0 12.00 386.00 398.00 ERROR

Check Details

Version: 1.2.0
Check: tests
Result: ERROR Running 'testthat.R' [205s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(priorsense) > > test_check("priorsense") This is posterior version 1.7.0 Attaching package: 'posterior' The following objects are masked from 'package:stats': mad, sd, var The following objects are masked from 'package:base': %in%, match 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="file57eec461d7dc3.dll" WIN=64 TCLBIN= OBJECTS="file57eec461d7dc3.o" make would use make[1]: Entering directory '/d/temp/2026_09_07_09_29_56_3012/RtmpKyCZiF' 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/Rtmp8GOb4x/RLIBS_2a9b439c6352/RcppEigen/include/" -I"D:/temp/2026_09_07_09_29_56_3012/Rtmp8GOb4x/RLIBS_2a9b439c6352/RcppEigen/include/unsupported" -I"D:/temp/2026_09_07_09_29_56_3012/Rtmp8GOb4x/RLIBS_2a9b439c6352/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 file57eec461d7dc3.cpp -o file57eec461d7dc3.o if test "zfile57eec461d7dc3.o" != "z"; then \ if test -e "file57eec461d7dc3-win.def"; then \ echo g++ -shared -s -static-libgcc -o file57eec461d7dc3.dll file57eec461d7dc3-win.def file57eec461d7dc3.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 file57eec461d7dc3.dll file57eec461d7dc3-win.def file57eec461d7dc3.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 file57eec461d7dc3.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 file57eec461d7dc3.dll tmp.def file57eec461d7dc3.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 file57eec461d7dc3.dll tmp.def file57eec461d7dc3.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/RtmpKyCZiF' Saving _problems/test_moment_matching-12.R 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="file57eec151b1d75.dll" WIN=64 TCLBIN= OBJECTS="file57eec151b1d75.o" make would use make[1]: Entering directory '/d/temp/2026_09_07_09_29_56_3012/RtmpKyCZiF' 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/Rtmp8GOb4x/RLIBS_2a9b439c6352/RcppEigen/include/" -I"D:/temp/2026_09_07_09_29_56_3012/Rtmp8GOb4x/RLIBS_2a9b439c6352/RcppEigen/include/unsupported" -I"D:/temp/2026_09_07_09_29_56_3012/Rtmp8GOb4x/RLIBS_2a9b439c6352/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 file57eec151b1d75.cpp -o file57eec151b1d75.o if test "zfile57eec151b1d75.o" != "z"; then \ if test -e "file57eec151b1d75-win.def"; then \ echo g++ -shared -s -static-libgcc -o file57eec151b1d75.dll file57eec151b1d75-win.def file57eec151b1d75.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 file57eec151b1d75.dll file57eec151b1d75-win.def file57eec151b1d75.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 file57eec151b1d75.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 file57eec151b1d75.dll tmp.def file57eec151b1d75.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 file57eec151b1d75.dll tmp.def file57eec151b1d75.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/RtmpKyCZiF' Saving _problems/test_resample-12.R 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="file57eec408142d6.dll" WIN=64 TCLBIN= OBJECTS="file57eec408142d6.o" make would use make[1]: Entering directory '/d/temp/2026_09_07_09_29_56_3012/RtmpKyCZiF' 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/Rtmp8GOb4x/RLIBS_2a9b439c6352/RcppEigen/include/" -I"D:/temp/2026_09_07_09_29_56_3012/Rtmp8GOb4x/RLIBS_2a9b439c6352/RcppEigen/include/unsupported" -I"D:/temp/2026_09_07_09_29_56_3012/Rtmp8GOb4x/RLIBS_2a9b439c6352/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 file57eec408142d6.cpp -o file57eec408142d6.o if test "zfile57eec408142d6.o" != "z"; then \ if test -e "file57eec408142d6-win.def"; then \ echo g++ -shared -s -static-libgcc -o file57eec408142d6.dll file57eec408142d6-win.def file57eec408142d6.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 file57eec408142d6.dll file57eec408142d6-win.def file57eec408142d6.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 file57eec408142d6.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 file57eec408142d6.dll tmp.def file57eec408142d6.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 file57eec408142d6.dll tmp.def file57eec408142d6.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/RtmpKyCZiF' Saving _problems/test_rstan-10.R [ FAIL 6 | WARN 0 | SKIP 2 | PASS 123 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test_cmdstan.R:5:3', ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_moment_matching.R:4:1'): (code run outside of `test_that()`) ─── Error in `compileCode(f, code, language = language, verbose = verbose)`: del = model57eec3df111c__namespace::model57eec3df111c_; 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: file57eec461d7dc3.o] Error 1 Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test_moment_matching.R:4:1 2. │ └─base::withCallingHandlers(...) 3. └─rstan::stan(...) 4. └─rstan::stan_model(...) 5. └─rstan:::cxxfunctionplus(...) 6. ├─pkgbuild::with_build_tools(...) 7. │ └─pkgbuild:::withr_with_path(rtools_path(), code) 8. │ └─base::force(code) 9. └─inline::cxxfunction(...) 10. └─inline:::compileCode(f, code, language = language, verbose = verbose) ── Error ('test_moment_matching.R:4:1'): (code run outside of `test_that()`) ─── Error in `sink(type = "output")`: invalid connection Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test_moment_matching.R:4:1 2. │ └─base::withCallingHandlers(...) 3. └─rstan::stan(...) 4. └─rstan::stan_model(...) 5. └─rstan:::cxxfunctionplus(...) 6. └─base::sink(type = "output") ── Error ('test_resample.R:4:1'): (code run outside of `test_that()`) ────────── Error in `compileCode(f, code, language = language, verbose = verbose)`: del = model57eec54c11bf__namespace::model57eec54c11bf_; 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: file57eec151b1d75.o] Error 1 Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test_resample.R:4:1 2. │ └─base::withCallingHandlers(...) 3. └─rstan::stan(...) 4. └─rstan::stan_model(...) 5. └─rstan:::cxxfunctionplus(...) 6. ├─pkgbuild::with_build_tools(...) 7. │ └─pkgbuild:::withr_with_path(rtools_path(), code) 8. │ └─base::force(code) 9. └─inline::cxxfunction(...) 10. └─inline:::compileCode(f, code, language = language, verbose = verbose) ── Error ('test_resample.R:4:1'): (code run outside of `test_that()`) ────────── Error in `sink(type = "output")`: invalid connection Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test_resample.R:4:1 2. │ └─base::withCallingHandlers(...) 3. └─rstan::stan(...) 4. └─rstan::stan_model(...) 5. └─rstan:::cxxfunctionplus(...) 6. └─base::sink(type = "output") ── Error ('test_rstan.R:5:1'): (code run outside of `test_that()`) ───────────── Error in `compileCode(f, code, language = language, verbose = verbose)`: l = model57eec6858411a__namespace::model57eec6858411a_; 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: file57eec408142d6.o] Error 1 Backtrace: ▆ 1. └─rstan::stan(...) at test_rstan.R:5:1 2. └─rstan::stan_model(...) 3. └─rstan:::cxxfunctionplus(...) 4. ├─pkgbuild::with_build_tools(...) 5. │ └─pkgbuild:::withr_with_path(rtools_path(), code) 6. │ └─base::force(code) 7. └─inline::cxxfunction(...) 8. └─inline:::compileCode(f, code, language = language, verbose = verbose) ── Error ('test_rstan.R:5:1'): (code run outside of `test_that()`) ───────────── Error in `sink(type = "output")`: invalid connection Backtrace: ▆ 1. └─rstan::stan(...) at test_rstan.R:5:1 2. └─rstan::stan_model(...) 3. └─rstan:::cxxfunctionplus(...) 4. └─base::sink(type = "output") [ FAIL 6 | WARN 0 | SKIP 2 | PASS 123 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 1.2.0
Check: tests
Result: ERROR Running 'testthat.R' [253s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(priorsense) > > test_check("priorsense") This is posterior version 1.7.0 Attaching package: 'posterior' The following objects are masked from 'package:stats': mad, sd, var The following objects are masked from 'package:base': %in%, match 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="filec8147cf56952.dll" WIN=64 TCLBIN= OBJECTS="filec8147cf56952.o" make would use make[1]: Entering directory '/d/temp/2026_09_07_01_50_00_11199/RtmpADrCdN' 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_07_01_50_00_11199/RtmpApZ5Ju/RLIBS_4e70beb3d17/RcppEigen/include/" -I"D:/temp/2026_09_07_01_50_00_11199/RtmpApZ5Ju/RLIBS_4e70beb3d17/RcppEigen/include/unsupported" -I"D:/temp/2026_09_07_01_50_00_11199/RtmpApZ5Ju/RLIBS_4e70beb3d17/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 filec8147cf56952.cpp -o filec8147cf56952.o if test "zfilec8147cf56952.o" != "z"; then \ if test -e "filec8147cf56952-win.def"; then \ echo g++ -shared -s -static-libgcc -o filec8147cf56952.dll filec8147cf56952-win.def filec8147cf56952.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 filec8147cf56952.dll filec8147cf56952-win.def filec8147cf56952.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 filec8147cf56952.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 filec8147cf56952.dll tmp.def filec8147cf56952.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 filec8147cf56952.dll tmp.def filec8147cf56952.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_07_01_50_00_11199/RtmpADrCdN' Saving _problems/test_moment_matching-12.R 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="filec814271b2ec1.dll" WIN=64 TCLBIN= OBJECTS="filec814271b2ec1.o" make would use make[1]: Entering directory '/d/temp/2026_09_07_01_50_00_11199/RtmpADrCdN' 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_07_01_50_00_11199/RtmpApZ5Ju/RLIBS_4e70beb3d17/RcppEigen/include/" -I"D:/temp/2026_09_07_01_50_00_11199/RtmpApZ5Ju/RLIBS_4e70beb3d17/RcppEigen/include/unsupported" -I"D:/temp/2026_09_07_01_50_00_11199/RtmpApZ5Ju/RLIBS_4e70beb3d17/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 filec814271b2ec1.cpp -o filec814271b2ec1.o if test "zfilec814271b2ec1.o" != "z"; then \ if test -e "filec814271b2ec1-win.def"; then \ echo g++ -shared -s -static-libgcc -o filec814271b2ec1.dll filec814271b2ec1-win.def filec814271b2ec1.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 filec814271b2ec1.dll filec814271b2ec1-win.def filec814271b2ec1.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 filec814271b2ec1.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 filec814271b2ec1.dll tmp.def filec814271b2ec1.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 filec814271b2ec1.dll tmp.def filec814271b2ec1.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_07_01_50_00_11199/RtmpADrCdN' Saving _problems/test_resample-12.R 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="filec814712643f.dll" WIN=64 TCLBIN= OBJECTS="filec814712643f.o" make would use make[1]: Entering directory '/d/temp/2026_09_07_01_50_00_11199/RtmpADrCdN' 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_07_01_50_00_11199/RtmpApZ5Ju/RLIBS_4e70beb3d17/RcppEigen/include/" -I"D:/temp/2026_09_07_01_50_00_11199/RtmpApZ5Ju/RLIBS_4e70beb3d17/RcppEigen/include/unsupported" -I"D:/temp/2026_09_07_01_50_00_11199/RtmpApZ5Ju/RLIBS_4e70beb3d17/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 filec814712643f.cpp -o filec814712643f.o if test "zfilec814712643f.o" != "z"; then \ if test -e "filec814712643f-win.def"; then \ echo g++ -shared -s -static-libgcc -o filec814712643f.dll filec814712643f-win.def filec814712643f.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 filec814712643f.dll filec814712643f-win.def filec814712643f.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 filec814712643f.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 filec814712643f.dll tmp.def filec814712643f.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 filec814712643f.dll tmp.def filec814712643f.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_07_01_50_00_11199/RtmpADrCdN' Saving _problems/test_rstan-10.R [ FAIL 6 | WARN 0 | SKIP 2 | PASS 123 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test_cmdstan.R:5:3', ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_moment_matching.R:4:1'): (code run outside of `test_that()`) ─── Error in `compileCode(f, code, language = language, verbose = verbose)`: modelc81453ef2925__namespace::modelc81453ef2925_; 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: filec8147cf56952.o] Error 1 Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test_moment_matching.R:4:1 2. │ └─base::withCallingHandlers(...) 3. └─rstan::stan(...) 4. └─rstan::stan_model(...) 5. └─rstan:::cxxfunctionplus(...) 6. ├─pkgbuild::with_build_tools(...) 7. │ └─pkgbuild:::withr_with_path(rtools_path(), code) 8. │ └─base::force(code) 9. └─inline::cxxfunction(...) 10. └─inline:::compileCode(f, code, language = language, verbose = verbose) ── Error ('test_moment_matching.R:4:1'): (code run outside of `test_that()`) ─── Error in `sink(type = "output")`: invalid connection Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test_moment_matching.R:4:1 2. │ └─base::withCallingHandlers(...) 3. └─rstan::stan(...) 4. └─rstan::stan_model(...) 5. └─rstan:::cxxfunctionplus(...) 6. └─base::sink(type = "output") ── Error ('test_resample.R:4:1'): (code run outside of `test_that()`) ────────── Error in `compileCode(f, code, language = language, verbose = verbose)`: = modelc81457c30d2__namespace::modelc81457c30d2_; 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: filec814271b2ec1.o] Error 1 Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test_resample.R:4:1 2. │ └─base::withCallingHandlers(...) 3. └─rstan::stan(...) 4. └─rstan::stan_model(...) 5. └─rstan:::cxxfunctionplus(...) 6. ├─pkgbuild::with_build_tools(...) 7. │ └─pkgbuild:::withr_with_path(rtools_path(), code) 8. │ └─base::force(code) 9. └─inline::cxxfunction(...) 10. └─inline:::compileCode(f, code, language = language, verbose = verbose) ── Error ('test_resample.R:4:1'): (code run outside of `test_that()`) ────────── Error in `sink(type = "output")`: invalid connection Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test_resample.R:4:1 2. │ └─base::withCallingHandlers(...) 3. └─rstan::stan(...) 4. └─rstan::stan_model(...) 5. └─rstan:::cxxfunctionplus(...) 6. └─base::sink(type = "output") ── Error ('test_rstan.R:5:1'): (code run outside of `test_that()`) ───────────── Error in `compileCode(f, code, language = language, verbose = verbose)`: = modelc8142ba53f09__namespace::modelc8142ba53f09_; 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: filec814712643f.o] Error 1 Backtrace: ▆ 1. └─rstan::stan(...) at test_rstan.R:5:1 2. └─rstan::stan_model(...) 3. └─rstan:::cxxfunctionplus(...) 4. ├─pkgbuild::with_build_tools(...) 5. │ └─pkgbuild:::withr_with_path(rtools_path(), code) 6. │ └─base::force(code) 7. └─inline::cxxfunction(...) 8. └─inline:::compileCode(f, code, language = language, verbose = verbose) ── Error ('test_rstan.R:5:1'): (code run outside of `test_that()`) ───────────── Error in `sink(type = "output")`: invalid connection Backtrace: ▆ 1. └─rstan::stan(...) at test_rstan.R:5:1 2. └─rstan::stan_model(...) 3. └─rstan:::cxxfunctionplus(...) 4. └─base::sink(type = "output") [ FAIL 6 | WARN 0 | SKIP 2 | PASS 123 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64