Last updated on 2026-09-30 23:50:18 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.0.0 | 12.24 | 1058.30 | 1070.54 | OK | |
| r-devel-linux-x86_64-debian-gcc | 2.0.0 | 9.83 | 1148.07 | 1157.90 | OK | |
| r-devel-linux-x86_64-fedora-clang | 2.0.0 | 10.00 | 396.74 | 406.74 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 2.0.0 | 10.00 | 571.61 | 581.61 | OK | |
| r-devel-windows-x86_64 | 2.0.0 | 15.00 | 281.00 | 296.00 | ERROR | |
| r-patched-linux-x86_64 | 2.0.0 | 14.89 | 1176.61 | 1191.50 | OK | |
| r-release-linux-x86_64 | 2.0.0 | 12.80 | 1224.50 | 1237.30 | OK | |
| r-release-macos-arm64 | 2.0.0 | 3.00 | 148.00 | 151.00 | OK | |
| r-release-macos-x86_64 | 2.0.0 | 10.00 | 677.00 | 687.00 | OK | |
| r-release-windows-x86_64 | 2.0.0 | 14.00 | 276.00 | 290.00 | ERROR | |
| r-oldrel-macos-arm64 | 2.0.0 | 3.00 | 163.00 | 166.00 | OK | |
| r-oldrel-macos-x86_64 | 2.0.0 | 10.00 | 653.00 | 663.00 | OK | |
| r-oldrel-windows-x86_64 | 2.0.0 | 18.00 | 355.00 | 373.00 | ERROR |
Version: 2.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [160s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(GMLTM)
> test_check("GMLTM")
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="file9258b32c65.dll" WIN=64 TCLBIN= OBJECTS="file9258b32c65.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_24_01_50_00_23554/RtmpYtlALD'
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_24_01_50_00_23554/Rtmp80KRVk/RLIBS_2a1fc7942942/RcppEigen/include/" -I"D:/temp/2026_09_24_01_50_00_23554/Rtmp80KRVk/RLIBS_2a1fc7942942/RcppEigen/include/unsupported" -I"D:/temp/2026_09_24_01_50_00_23554/Rtmp80KRVk/RLIBS_2a1fc7942942/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 file9258b32c65.cpp -o file9258b32c65.o
if test "zfile9258b32c65.o" != "z"; then \
if test -e "file9258b32c65-win.def"; then \
echo g++ -shared -s -static-libgcc -o file9258b32c65.dll file9258b32c65-win.def file9258b32c65.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 file9258b32c65.dll file9258b32c65-win.def file9258b32c65.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 file9258b32c65.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 file9258b32c65.dll tmp.def file9258b32c65.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 file9258b32c65.dll tmp.def file9258b32c65.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_24_01_50_00_23554/RtmpYtlALD'
Saving _problems/test-data-input-64.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="file92587fa275cf.dll" WIN=64 TCLBIN= OBJECTS="file92587fa275cf.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_24_01_50_00_23554/RtmpYtlALD'
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_24_01_50_00_23554/Rtmp80KRVk/RLIBS_2a1fc7942942/RcppEigen/include/" -I"D:/temp/2026_09_24_01_50_00_23554/Rtmp80KRVk/RLIBS_2a1fc7942942/RcppEigen/include/unsupported" -I"D:/temp/2026_09_24_01_50_00_23554/Rtmp80KRVk/RLIBS_2a1fc7942942/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 file92587fa275cf.cpp -o file92587fa275cf.o
if test "zfile92587fa275cf.o" != "z"; then \
if test -e "file92587fa275cf-win.def"; then \
echo g++ -shared -s -static-libgcc -o file92587fa275cf.dll file92587fa275cf-win.def file92587fa275cf.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 file92587fa275cf.dll file92587fa275cf-win.def file92587fa275cf.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 file92587fa275cf.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 file92587fa275cf.dll tmp.def file92587fa275cf.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 file92587fa275cf.dll tmp.def file92587fa275cf.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_24_01_50_00_23554/RtmpYtlALD'
Saving _problems/test-priors-50.R
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 84 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-data-input.R:60:3'): fitting with a plain matrix runs end to end without error (all four models) ──
Error in `compileCode(f, code, language = language, verbose = verbose)`: Model = model92584e912331__namespace::model92584e912331_; 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: file9258b32c65.o] Error 1
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test-data-input.R:60:3
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::suppressWarnings(...)
5. │ └─base::withCallingHandlers(...)
6. └─GMLTM::GMLTM(...)
7. └─rstan::stan_model(stan_file)
8. └─rstan:::cxxfunctionplus(...)
9. ├─pkgbuild::with_build_tools(...)
10. │ └─pkgbuild:::withr_with_path(rtools_path(), code)
11. │ └─base::force(code)
12. └─inline::cxxfunction(...)
13. └─inline:::compileCode(f, code, language = language, verbose = verbose)
── Error ('test-data-input.R:60:3'): fitting with a plain matrix runs end to end without error (all four models) ──
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test-data-input.R:60:3
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::suppressWarnings(...)
5. │ └─base::withCallingHandlers(...)
6. └─GMLTM::GMLTM(...)
7. └─rstan::stan_model(stan_file)
8. └─rstan:::cxxfunctionplus(...)
9. └─base::sink(type = "output")
── Error ('test-priors.R:46:3'): GMLTM fits successfully with priors$alpha$family = 'lognormal' ──
Error in `compileCode(f, code, language = language, verbose = verbose)`: odel = model925864197299__namespace::model925864197299_; 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: file92587fa275cf.o] Error 1
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-priors.R:46:3
2. │ └─base::withCallingHandlers(...)
3. └─GMLTM::GMLTM(...)
4. └─rstan::stan_model(stan_file)
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-priors.R:46:3'): GMLTM fits successfully with priors$alpha$family = 'lognormal' ──
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-priors.R:46:3
2. │ └─base::withCallingHandlers(...)
3. └─GMLTM::GMLTM(...)
4. └─rstan::stan_model(stan_file)
5. └─rstan:::cxxfunctionplus(...)
6. └─base::sink(type = "output")
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 84 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 2.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [158s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(GMLTM)
> test_check("GMLTM")
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="filebef85df3e25.dll" WIN=64 TCLBIN= OBJECTS="filebef85df3e25.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_29_12_06_12_14923/RtmpoVM2af'
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_29_12_06_12_14923/Rtmpsp5nZH/RLIBS_5f2402aad7851/RcppEigen/include/" -I"D:/temp/2026_09_29_12_06_12_14923/Rtmpsp5nZH/RLIBS_5f2402aad7851/RcppEigen/include/unsupported" -I"D:/temp/2026_09_29_12_06_12_14923/Rtmpsp5nZH/RLIBS_5f2402aad7851/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 filebef85df3e25.cpp -o filebef85df3e25.o
if test "zfilebef85df3e25.o" != "z"; then \
if test -e "filebef85df3e25-win.def"; then \
echo g++ -shared -s -static-libgcc -o filebef85df3e25.dll filebef85df3e25-win.def filebef85df3e25.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 filebef85df3e25.dll filebef85df3e25-win.def filebef85df3e25.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 filebef85df3e25.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 filebef85df3e25.dll tmp.def filebef85df3e25.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 filebef85df3e25.dll tmp.def filebef85df3e25.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_29_12_06_12_14923/RtmpoVM2af'
Saving _problems/test-data-input-64.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="filebef870a27cdb.dll" WIN=64 TCLBIN= OBJECTS="filebef870a27cdb.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_29_12_06_12_14923/RtmpoVM2af'
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_29_12_06_12_14923/Rtmpsp5nZH/RLIBS_5f2402aad7851/RcppEigen/include/" -I"D:/temp/2026_09_29_12_06_12_14923/Rtmpsp5nZH/RLIBS_5f2402aad7851/RcppEigen/include/unsupported" -I"D:/temp/2026_09_29_12_06_12_14923/Rtmpsp5nZH/RLIBS_5f2402aad7851/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 filebef870a27cdb.cpp -o filebef870a27cdb.o
if test "zfilebef870a27cdb.o" != "z"; then \
if test -e "filebef870a27cdb-win.def"; then \
echo g++ -shared -s -static-libgcc -o filebef870a27cdb.dll filebef870a27cdb-win.def filebef870a27cdb.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 filebef870a27cdb.dll filebef870a27cdb-win.def filebef870a27cdb.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 filebef870a27cdb.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 filebef870a27cdb.dll tmp.def filebef870a27cdb.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 filebef870a27cdb.dll tmp.def filebef870a27cdb.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_29_12_06_12_14923/RtmpoVM2af'
Saving _problems/test-priors-50.R
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 84 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-data-input.R:60:3'): fitting with a plain matrix runs end to end without error (all four models) ──
Error in `compileCode(f, code, language = language, verbose = verbose)`: = modelbef825861f4a__namespace::modelbef825861f4a_; 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: filebef85df3e25.o] Error 1
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test-data-input.R:60:3
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::suppressWarnings(...)
5. │ └─base::withCallingHandlers(...)
6. └─GMLTM::GMLTM(...)
7. └─rstan::stan_model(stan_file)
8. └─rstan:::cxxfunctionplus(...)
9. ├─pkgbuild::with_build_tools(...)
10. │ └─pkgbuild:::withr_with_path(rtools_path(), code)
11. │ └─base::force(code)
12. └─inline::cxxfunction(...)
13. └─inline:::compileCode(f, code, language = language, verbose = verbose)
── Error ('test-data-input.R:60:3'): fitting with a plain matrix runs end to end without error (all four models) ──
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test-data-input.R:60:3
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::suppressWarnings(...)
5. │ └─base::withCallingHandlers(...)
6. └─GMLTM::GMLTM(...)
7. └─rstan::stan_model(stan_file)
8. └─rstan:::cxxfunctionplus(...)
9. └─base::sink(type = "output")
── Error ('test-priors.R:46:3'): GMLTM fits successfully with priors$alpha$family = 'lognormal' ──
Error in `compileCode(f, code, language = language, verbose = verbose)`: modelbef854b242f8__namespace::modelbef854b242f8_; 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: filebef870a27cdb.o] Error 1
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-priors.R:46:3
2. │ └─base::withCallingHandlers(...)
3. └─GMLTM::GMLTM(...)
4. └─rstan::stan_model(stan_file)
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-priors.R:46:3'): GMLTM fits successfully with priors$alpha$family = 'lognormal' ──
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-priors.R:46:3
2. │ └─base::withCallingHandlers(...)
3. └─GMLTM::GMLTM(...)
4. └─rstan::stan_model(stan_file)
5. └─rstan:::cxxfunctionplus(...)
6. └─base::sink(type = "output")
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 84 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-windows-x86_64
Version: 2.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [208s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(GMLTM)
> test_check("GMLTM")
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="file3a58816344ef.dll" WIN=64 TCLBIN= OBJECTS="file3a58816344ef.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_25_13_02_51_11550/Rtmp0wSo6R'
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_25_13_02_51_11550/RtmpqSeT8k/RLIBS_141e07e297c41/RcppEigen/include/" -I"D:/temp/2026_09_25_13_02_51_11550/RtmpqSeT8k/RLIBS_141e07e297c41/RcppEigen/include/unsupported" -I"D:/temp/2026_09_25_13_02_51_11550/RtmpqSeT8k/RLIBS_141e07e297c41/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 file3a58816344ef.cpp -o file3a58816344ef.o
if test "zfile3a58816344ef.o" != "z"; then \
if test -e "file3a58816344ef-win.def"; then \
echo g++ -shared -s -static-libgcc -o file3a58816344ef.dll file3a58816344ef-win.def file3a58816344ef.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 file3a58816344ef.dll file3a58816344ef-win.def file3a58816344ef.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 file3a58816344ef.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 file3a58816344ef.dll tmp.def file3a58816344ef.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 file3a58816344ef.dll tmp.def file3a58816344ef.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_25_13_02_51_11550/Rtmp0wSo6R'
Saving _problems/test-data-input-64.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="file3a588508f2a58.dll" WIN=64 TCLBIN= OBJECTS="file3a588508f2a58.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_25_13_02_51_11550/Rtmp0wSo6R'
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_25_13_02_51_11550/RtmpqSeT8k/RLIBS_141e07e297c41/RcppEigen/include/" -I"D:/temp/2026_09_25_13_02_51_11550/RtmpqSeT8k/RLIBS_141e07e297c41/RcppEigen/include/unsupported" -I"D:/temp/2026_09_25_13_02_51_11550/RtmpqSeT8k/RLIBS_141e07e297c41/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 file3a588508f2a58.cpp -o file3a588508f2a58.o
if test "zfile3a588508f2a58.o" != "z"; then \
if test -e "file3a588508f2a58-win.def"; then \
echo g++ -shared -s -static-libgcc -o file3a588508f2a58.dll file3a588508f2a58-win.def file3a588508f2a58.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 file3a588508f2a58.dll file3a588508f2a58-win.def file3a588508f2a58.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 file3a588508f2a58.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 file3a588508f2a58.dll tmp.def file3a588508f2a58.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 file3a588508f2a58.dll tmp.def file3a588508f2a58.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_25_13_02_51_11550/Rtmp0wSo6R'
Saving _problems/test-priors-50.R
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 84 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-data-input.R:60:3'): fitting with a plain matrix runs end to end without error (all four models) ──
Error in `compileCode(f, code, language = language, verbose = verbose)`: odel3a5886d7f26df__namespace::model3a5886d7f26df_; 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: file3a58816344ef.o] Error 1
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test-data-input.R:60:3
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::suppressWarnings(...)
5. │ └─base::withCallingHandlers(...)
6. └─GMLTM::GMLTM(...)
7. └─rstan::stan_model(stan_file)
8. └─rstan:::cxxfunctionplus(...)
9. ├─pkgbuild::with_build_tools(...)
10. │ └─pkgbuild:::withr_with_path(rtools_path(), code)
11. │ └─base::force(code)
12. └─inline::cxxfunction(...)
13. └─inline:::compileCode(f, code, language = language, verbose = verbose)
── Error ('test-data-input.R:60:3'): fitting with a plain matrix runs end to end without error (all four models) ──
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test-data-input.R:60:3
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::suppressWarnings(...)
5. │ └─base::withCallingHandlers(...)
6. └─GMLTM::GMLTM(...)
7. └─rstan::stan_model(stan_file)
8. └─rstan:::cxxfunctionplus(...)
9. └─base::sink(type = "output")
── Error ('test-priors.R:46:3'): GMLTM fits successfully with priors$alpha$family = 'lognormal' ──
Error in `compileCode(f, code, language = language, verbose = verbose)`: del3a58874f84fe5__namespace::model3a58874f84fe5_; 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: file3a588508f2a58.o] Error 1
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-priors.R:46:3
2. │ └─base::withCallingHandlers(...)
3. └─GMLTM::GMLTM(...)
4. └─rstan::stan_model(stan_file)
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-priors.R:46:3'): GMLTM fits successfully with priors$alpha$family = 'lognormal' ──
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-priors.R:46:3
2. │ └─base::withCallingHandlers(...)
3. └─GMLTM::GMLTM(...)
4. └─rstan::stan_model(stan_file)
5. └─rstan:::cxxfunctionplus(...)
6. └─base::sink(type = "output")
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 84 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64