Last updated on 2026-09-11 12:50:07 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.28 | 534.73 | 539.01 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.2.0 | 240.69 | 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 | 6.50 | 618.22 | 624.72 | 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 | 314.00 | 323.00 | ERROR | |
| 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 | 13.00 | 392.00 | 405.00 | ERROR |
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' [200s]
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-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="file48cc838d751b.dll" WIN=64 TCLBIN= OBJECTS="file48cc838d751b.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/RtmpSkeiSr'
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/RtmpKwNZYL/RLIBS_1f2bc4dd76077/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpKwNZYL/RLIBS_1f2bc4dd76077/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpKwNZYL/RLIBS_1f2bc4dd76077/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 file48cc838d751b.cpp -o file48cc838d751b.o
if test "zfile48cc838d751b.o" != "z"; then \
if test -e "file48cc838d751b-win.def"; then \
echo g++ -shared -s -static-libgcc -o file48cc838d751b.dll file48cc838d751b-win.def file48cc838d751b.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 file48cc838d751b.dll file48cc838d751b-win.def file48cc838d751b.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 file48cc838d751b.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 file48cc838d751b.dll tmp.def file48cc838d751b.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 file48cc838d751b.dll tmp.def file48cc838d751b.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/RtmpSkeiSr'
Saving _problems/test_moment_matching-12.R
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="file48cc87d3a1314.dll" WIN=64 TCLBIN= OBJECTS="file48cc87d3a1314.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/RtmpSkeiSr'
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/RtmpKwNZYL/RLIBS_1f2bc4dd76077/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpKwNZYL/RLIBS_1f2bc4dd76077/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpKwNZYL/RLIBS_1f2bc4dd76077/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 file48cc87d3a1314.cpp -o file48cc87d3a1314.o
if test "zfile48cc87d3a1314.o" != "z"; then \
if test -e "file48cc87d3a1314-win.def"; then \
echo g++ -shared -s -static-libgcc -o file48cc87d3a1314.dll file48cc87d3a1314-win.def file48cc87d3a1314.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 file48cc87d3a1314.dll file48cc87d3a1314-win.def file48cc87d3a1314.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 file48cc87d3a1314.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 file48cc87d3a1314.dll tmp.def file48cc87d3a1314.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 file48cc87d3a1314.dll tmp.def file48cc87d3a1314.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/RtmpSkeiSr'
Saving _problems/test_resample-12.R
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="file48cc85a9d7d91.dll" WIN=64 TCLBIN= OBJECTS="file48cc85a9d7d91.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/RtmpSkeiSr'
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/RtmpKwNZYL/RLIBS_1f2bc4dd76077/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpKwNZYL/RLIBS_1f2bc4dd76077/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpKwNZYL/RLIBS_1f2bc4dd76077/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 file48cc85a9d7d91.cpp -o file48cc85a9d7d91.o
if test "zfile48cc85a9d7d91.o" != "z"; then \
if test -e "file48cc85a9d7d91-win.def"; then \
echo g++ -shared -s -static-libgcc -o file48cc85a9d7d91.dll file48cc85a9d7d91-win.def file48cc85a9d7d91.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 file48cc85a9d7d91.dll file48cc85a9d7d91-win.def file48cc85a9d7d91.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 file48cc85a9d7d91.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 file48cc85a9d7d91.dll tmp.def file48cc85a9d7d91.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 file48cc85a9d7d91.dll tmp.def file48cc85a9d7d91.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/RtmpSkeiSr'
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)`: odel48cc863b62862__namespace::model48cc863b62862_; 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: file48cc838d751b.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)`: del48cc83a2a161f__namespace::model48cc83a2a161f_; 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: file48cc87d3a1314.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)`: del48cc877334440__namespace::model48cc877334440_; 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: file48cc85a9d7d91.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-release-windows-x86_64
Version: 1.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [251s]
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="file62dc2eb1523e.dll" WIN=64 TCLBIN= OBJECTS="file62dc2eb1523e.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/Rtmp882Mbf'
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/RtmpQLCD3K/RLIBS_115d851f93c41/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpQLCD3K/RLIBS_115d851f93c41/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpQLCD3K/RLIBS_115d851f93c41/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 file62dc2eb1523e.cpp -o file62dc2eb1523e.o
if test "zfile62dc2eb1523e.o" != "z"; then \
if test -e "file62dc2eb1523e-win.def"; then \
echo g++ -shared -s -static-libgcc -o file62dc2eb1523e.dll file62dc2eb1523e-win.def file62dc2eb1523e.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 file62dc2eb1523e.dll file62dc2eb1523e-win.def file62dc2eb1523e.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 file62dc2eb1523e.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 file62dc2eb1523e.dll tmp.def file62dc2eb1523e.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 file62dc2eb1523e.dll tmp.def file62dc2eb1523e.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/Rtmp882Mbf'
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="file62dc6a775.dll" WIN=64 TCLBIN= OBJECTS="file62dc6a775.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/Rtmp882Mbf'
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/RtmpQLCD3K/RLIBS_115d851f93c41/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpQLCD3K/RLIBS_115d851f93c41/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpQLCD3K/RLIBS_115d851f93c41/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 file62dc6a775.cpp -o file62dc6a775.o
if test "zfile62dc6a775.o" != "z"; then \
if test -e "file62dc6a775-win.def"; then \
echo g++ -shared -s -static-libgcc -o file62dc6a775.dll file62dc6a775-win.def file62dc6a775.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 file62dc6a775.dll file62dc6a775-win.def file62dc6a775.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 file62dc6a775.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 file62dc6a775.dll tmp.def file62dc6a775.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 file62dc6a775.dll tmp.def file62dc6a775.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/Rtmp882Mbf'
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="file62dc1a652f9e.dll" WIN=64 TCLBIN= OBJECTS="file62dc1a652f9e.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/Rtmp882Mbf'
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/RtmpQLCD3K/RLIBS_115d851f93c41/RcppEigen/include/" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpQLCD3K/RLIBS_115d851f93c41/RcppEigen/include/unsupported" -I"D:/temp/2026_09_09_01_50_00_18435/RtmpQLCD3K/RLIBS_115d851f93c41/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 file62dc1a652f9e.cpp -o file62dc1a652f9e.o
if test "zfile62dc1a652f9e.o" != "z"; then \
if test -e "file62dc1a652f9e-win.def"; then \
echo g++ -shared -s -static-libgcc -o file62dc1a652f9e.dll file62dc1a652f9e-win.def file62dc1a652f9e.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 file62dc1a652f9e.dll file62dc1a652f9e-win.def file62dc1a652f9e.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 file62dc1a652f9e.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 file62dc1a652f9e.dll tmp.def file62dc1a652f9e.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 file62dc1a652f9e.dll tmp.def file62dc1a652f9e.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/Rtmp882Mbf'
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)`: model62dc73974933__namespace::model62dc73974933_; 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: file62dc2eb1523e.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)`: l = model62dc40b02013__namespace::model62dc40b02013_; 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: file62dc6a775.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)`: model62dc27d96fa3__namespace::model62dc27d96fa3_; 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: file62dc1a652f9e.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