Last updated on 2026-10-20 01:50:12 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.0.0 | 13.32 | 1225.13 | 1238.45 | OK | |
| r-devel-linux-x86_64-debian-gcc | 2.0.0 | 10.23 | 752.46 | 762.69 | OK | |
| r-devel-linux-x86_64-fedora-clang | 2.0.0 | 10.00 | 412.71 | 422.71 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 2.0.0 | 10.00 | 576.58 | 586.58 | OK | |
| r-devel-windows-x86_64 | 2.0.0 | 15.00 | 276.00 | 291.00 | ERROR | |
| r-patched-linux-x86_64 | 2.0.0 | 16.59 | 1326.61 | 1343.20 | OK | |
| r-release-linux-x86_64 | 2.0.0 | 14.38 | 1336.52 | 1350.90 | 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 | 268.00 | 282.00 | ERROR | |
| r-oldrel-macos-arm64 | 2.0.0 | OK | ||||
| r-oldrel-macos-x86_64 | 2.0.0 | 10.00 | 653.00 | 663.00 | OK | |
| r-oldrel-windows-x86_64 | 2.0.0 | 22.00 | 348.00 | 370.00 | ERROR |
Version: 2.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [156s]
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="file3f3a863eb1328.dll" WIN=64 TCLBIN= OBJECTS="file3f3a863eb1328.o"
make would use
make[1]: Entering directory '/d/temp/2026_10_15_10_16_52_18621/RtmpCwCNYp'
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.7/Rcpp/include/" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp2HGWOG/RLIBS_690b447661c83/RcppEigen/include/" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp2HGWOG/RLIBS_690b447661c83/RcppEigen/include/unsupported" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp2HGWOG/RLIBS_690b447661c83/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 file3f3a863eb1328.cpp -o file3f3a863eb1328.o
if test "zfile3f3a863eb1328.o" != "z"; then \
if test -e "file3f3a863eb1328-win.def"; then \
echo g++ -shared -s -static-libgcc -o file3f3a863eb1328.dll file3f3a863eb1328-win.def file3f3a863eb1328.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 file3f3a863eb1328.dll file3f3a863eb1328-win.def file3f3a863eb1328.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 file3f3a863eb1328.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 file3f3a863eb1328.dll tmp.def file3f3a863eb1328.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 file3f3a863eb1328.dll tmp.def file3f3a863eb1328.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \
rm -f tmp.def; \
fi \
fi
make[1]: Leaving directory '/d/temp/2026_10_15_10_16_52_18621/RtmpCwCNYp'
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="file3f3a813381f19.dll" WIN=64 TCLBIN= OBJECTS="file3f3a813381f19.o"
make would use
make[1]: Entering directory '/d/temp/2026_10_15_10_16_52_18621/RtmpCwCNYp'
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.7/Rcpp/include/" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp2HGWOG/RLIBS_690b447661c83/RcppEigen/include/" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp2HGWOG/RLIBS_690b447661c83/RcppEigen/include/unsupported" -I"D:/temp/2026_10_15_10_16_52_18621/Rtmp2HGWOG/RLIBS_690b447661c83/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 file3f3a813381f19.cpp -o file3f3a813381f19.o
if test "zfile3f3a813381f19.o" != "z"; then \
if test -e "file3f3a813381f19-win.def"; then \
echo g++ -shared -s -static-libgcc -o file3f3a813381f19.dll file3f3a813381f19-win.def file3f3a813381f19.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 file3f3a813381f19.dll file3f3a813381f19-win.def file3f3a813381f19.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 file3f3a813381f19.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 file3f3a813381f19.dll tmp.def file3f3a813381f19.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 file3f3a813381f19.dll tmp.def file3f3a813381f19.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \
rm -f tmp.def; \
fi \
fi
make[1]: Leaving directory '/d/temp/2026_10_15_10_16_52_18621/RtmpCwCNYp'
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)`: del = model3f3a869a328a__namespace::model3f3a869a328a_; 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: file3f3a863eb1328.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)`: l = model3f3a867525137__namespace::model3f3a867525137_; 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: file3f3a813381f19.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' [150s]
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="file1b5143ca71979.dll" WIN=64 TCLBIN= OBJECTS="file1b5143ca71979.o"
make would use
make[1]: Entering directory '/d/temp/2026_10_18_01_50_00_12083/Rtmp6ZqkB7'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/" -I"D:/temp/2026_10_18_01_50_00_12083/RtmpcjjO9h/RLIBS_216c4689873a8/RcppEigen/include/" -I"D:/temp/2026_10_18_01_50_00_12083/RtmpcjjO9h/RLIBS_216c4689873a8/RcppEigen/include/unsupported" -I"D:/temp/2026_10_18_01_50_00_12083/RtmpcjjO9h/RLIBS_216c4689873a8/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 file1b5143ca71979.cpp -o file1b5143ca71979.o
if test "zfile1b5143ca71979.o" != "z"; then \
if test -e "file1b5143ca71979-win.def"; then \
echo g++ -shared -s -static-libgcc -o file1b5143ca71979.dll file1b5143ca71979-win.def file1b5143ca71979.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 file1b5143ca71979.dll file1b5143ca71979-win.def file1b5143ca71979.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 file1b5143ca71979.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 file1b5143ca71979.dll tmp.def file1b5143ca71979.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 file1b5143ca71979.dll tmp.def file1b5143ca71979.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \
rm -f tmp.def; \
fi \
fi
make[1]: Leaving directory '/d/temp/2026_10_18_01_50_00_12083/Rtmp6ZqkB7'
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="file1b5141fef4a6f.dll" WIN=64 TCLBIN= OBJECTS="file1b5141fef4a6f.o"
make would use
make[1]: Entering directory '/d/temp/2026_10_18_01_50_00_12083/Rtmp6ZqkB7'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/" -I"D:/temp/2026_10_18_01_50_00_12083/RtmpcjjO9h/RLIBS_216c4689873a8/RcppEigen/include/" -I"D:/temp/2026_10_18_01_50_00_12083/RtmpcjjO9h/RLIBS_216c4689873a8/RcppEigen/include/unsupported" -I"D:/temp/2026_10_18_01_50_00_12083/RtmpcjjO9h/RLIBS_216c4689873a8/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 file1b5141fef4a6f.cpp -o file1b5141fef4a6f.o
if test "zfile1b5141fef4a6f.o" != "z"; then \
if test -e "file1b5141fef4a6f-win.def"; then \
echo g++ -shared -s -static-libgcc -o file1b5141fef4a6f.dll file1b5141fef4a6f-win.def file1b5141fef4a6f.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 file1b5141fef4a6f.dll file1b5141fef4a6f-win.def file1b5141fef4a6f.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 file1b5141fef4a6f.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 file1b5141fef4a6f.dll tmp.def file1b5141fef4a6f.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 file1b5141fef4a6f.dll tmp.def file1b5141fef4a6f.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \
rm -f tmp.def; \
fi \
fi
make[1]: Leaving directory '/d/temp/2026_10_18_01_50_00_12083/Rtmp6ZqkB7'
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)`: del1b514221129a4__namespace::model1b514221129a4_; 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: file1b5143ca71979.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)`: del1b5142ebf4938__namespace::model1b5142ebf4938_; 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: file1b5141fef4a6f.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' [209s]
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="file589d826071707.dll" WIN=64 TCLBIN= OBJECTS="file589d826071707.o"
make would use
make[1]: Entering directory '/d/temp/2026_10_16_17_16_37_22563/RtmpCkY9rt'
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_10_16_17_16_37_22563/RtmpE7waS2/RLIBS_11ac015b5587d/RcppEigen/include/" -I"D:/temp/2026_10_16_17_16_37_22563/RtmpE7waS2/RLIBS_11ac015b5587d/RcppEigen/include/unsupported" -I"D:/temp/2026_10_16_17_16_37_22563/RtmpE7waS2/RLIBS_11ac015b5587d/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 file589d826071707.cpp -o file589d826071707.o
if test "zfile589d826071707.o" != "z"; then \
if test -e "file589d826071707-win.def"; then \
echo g++ -shared -s -static-libgcc -o file589d826071707.dll file589d826071707-win.def file589d826071707.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 file589d826071707.dll file589d826071707-win.def file589d826071707.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 file589d826071707.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 file589d826071707.dll tmp.def file589d826071707.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 file589d826071707.dll tmp.def file589d826071707.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_10_16_17_16_37_22563/RtmpCkY9rt'
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="file589d857cf38b6.dll" WIN=64 TCLBIN= OBJECTS="file589d857cf38b6.o"
make would use
make[1]: Entering directory '/d/temp/2026_10_16_17_16_37_22563/RtmpCkY9rt'
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_10_16_17_16_37_22563/RtmpE7waS2/RLIBS_11ac015b5587d/RcppEigen/include/" -I"D:/temp/2026_10_16_17_16_37_22563/RtmpE7waS2/RLIBS_11ac015b5587d/RcppEigen/include/unsupported" -I"D:/temp/2026_10_16_17_16_37_22563/RtmpE7waS2/RLIBS_11ac015b5587d/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 file589d857cf38b6.cpp -o file589d857cf38b6.o
if test "zfile589d857cf38b6.o" != "z"; then \
if test -e "file589d857cf38b6-win.def"; then \
echo g++ -shared -s -static-libgcc -o file589d857cf38b6.dll file589d857cf38b6-win.def file589d857cf38b6.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 file589d857cf38b6.dll file589d857cf38b6-win.def file589d857cf38b6.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 file589d857cf38b6.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 file589d857cf38b6.dll tmp.def file589d857cf38b6.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 file589d857cf38b6.dll tmp.def file589d857cf38b6.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_10_16_17_16_37_22563/RtmpCkY9rt'
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)`: del589d849d74495__namespace::model589d849d74495_; 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: file589d826071707.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)`: model589d82d16141__namespace::model589d82d16141_; 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: file589d857cf38b6.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