CRAN Package Check Results for Package GMLTM

Last updated on 2026-09-24 17:50:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 14.10 1009.62 1023.72 OK
r-devel-linux-x86_64-debian-gcc 2.0.0 10.27 1097.65 1107.92 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 569.19 579.19 OK
r-devel-windows-x86_64 2.0.0 15.00 287.00 302.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 13.94 1143.64 1157.58 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 15.00 279.00 294.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 21.00 343.00 364.00 ERROR

Check Details

Version: 2.0.0
Check: tests
Result: ERROR Running 'testthat.R' [165s] 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="file3c31024004c17.dll" WIN=64 TCLBIN= OBJECTS="file3c31024004c17.o" make would use make[1]: Entering directory '/d/temp/2026_09_17_01_50_00_14611/RtmpmsO9L9' 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_17_01_50_00_14611/Rtmpcp7wkP/RLIBS_2da60226a4a19/RcppEigen/include/" -I"D:/temp/2026_09_17_01_50_00_14611/Rtmpcp7wkP/RLIBS_2da60226a4a19/RcppEigen/include/unsupported" -I"D:/temp/2026_09_17_01_50_00_14611/Rtmpcp7wkP/RLIBS_2da60226a4a19/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 file3c31024004c17.cpp -o file3c31024004c17.o if test "zfile3c31024004c17.o" != "z"; then \ if test -e "file3c31024004c17-win.def"; then \ echo g++ -shared -s -static-libgcc -o file3c31024004c17.dll file3c31024004c17-win.def file3c31024004c17.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 file3c31024004c17.dll file3c31024004c17-win.def file3c31024004c17.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 file3c31024004c17.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 file3c31024004c17.dll tmp.def file3c31024004c17.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 file3c31024004c17.dll tmp.def file3c31024004c17.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_17_01_50_00_14611/RtmpmsO9L9' 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="file3c310435543c4.dll" WIN=64 TCLBIN= OBJECTS="file3c310435543c4.o" make would use make[1]: Entering directory '/d/temp/2026_09_17_01_50_00_14611/RtmpmsO9L9' 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_17_01_50_00_14611/Rtmpcp7wkP/RLIBS_2da60226a4a19/RcppEigen/include/" -I"D:/temp/2026_09_17_01_50_00_14611/Rtmpcp7wkP/RLIBS_2da60226a4a19/RcppEigen/include/unsupported" -I"D:/temp/2026_09_17_01_50_00_14611/Rtmpcp7wkP/RLIBS_2da60226a4a19/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 file3c310435543c4.cpp -o file3c310435543c4.o if test "zfile3c310435543c4.o" != "z"; then \ if test -e "file3c310435543c4-win.def"; then \ echo g++ -shared -s -static-libgcc -o file3c310435543c4.dll file3c310435543c4-win.def file3c310435543c4.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 file3c310435543c4.dll file3c310435543c4-win.def file3c310435543c4.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 file3c310435543c4.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 file3c310435543c4.dll tmp.def file3c310435543c4.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 file3c310435543c4.dll tmp.def file3c310435543c4.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_17_01_50_00_14611/RtmpmsO9L9' 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)`: l = model3c31051f12246__namespace::model3c31051f12246_; 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: file3c31024004c17.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 = model3c3106be06a0a__namespace::model3c3106be06a0a_; 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: file3c310435543c4.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' [159s] 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="file3348455891aee.dll" WIN=64 TCLBIN= OBJECTS="file3348455891aee.o" make would use make[1]: Entering directory '/d/temp/2026_09_15_23_01_57_27218/RtmpQHV4Uk' 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_15_23_01_57_27218/Rtmpspr0vR/RLIBS_3b2483ef6f04/RcppEigen/include/" -I"D:/temp/2026_09_15_23_01_57_27218/Rtmpspr0vR/RLIBS_3b2483ef6f04/RcppEigen/include/unsupported" -I"D:/temp/2026_09_15_23_01_57_27218/Rtmpspr0vR/RLIBS_3b2483ef6f04/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 file3348455891aee.cpp -o file3348455891aee.o if test "zfile3348455891aee.o" != "z"; then \ if test -e "file3348455891aee-win.def"; then \ echo g++ -shared -s -static-libgcc -o file3348455891aee.dll file3348455891aee-win.def file3348455891aee.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 file3348455891aee.dll file3348455891aee-win.def file3348455891aee.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 file3348455891aee.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 file3348455891aee.dll tmp.def file3348455891aee.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 file3348455891aee.dll tmp.def file3348455891aee.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_15_23_01_57_27218/RtmpQHV4Uk' 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="file334846ec6731.dll" WIN=64 TCLBIN= OBJECTS="file334846ec6731.o" make would use make[1]: Entering directory '/d/temp/2026_09_15_23_01_57_27218/RtmpQHV4Uk' 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_15_23_01_57_27218/Rtmpspr0vR/RLIBS_3b2483ef6f04/RcppEigen/include/" -I"D:/temp/2026_09_15_23_01_57_27218/Rtmpspr0vR/RLIBS_3b2483ef6f04/RcppEigen/include/unsupported" -I"D:/temp/2026_09_15_23_01_57_27218/Rtmpspr0vR/RLIBS_3b2483ef6f04/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 file334846ec6731.cpp -o file334846ec6731.o if test "zfile334846ec6731.o" != "z"; then \ if test -e "file334846ec6731-win.def"; then \ echo g++ -shared -s -static-libgcc -o file334846ec6731.dll file334846ec6731-win.def file334846ec6731.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 file334846ec6731.dll file334846ec6731-win.def file334846ec6731.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 file334846ec6731.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 file334846ec6731.dll tmp.def file334846ec6731.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 file334846ec6731.dll tmp.def file334846ec6731.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_15_23_01_57_27218/RtmpQHV4Uk' 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)`: del3348416a15bda__namespace::model3348416a15bda_; 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: file3348455891aee.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)`: odel3348455cd67d9__namespace::model3348455cd67d9_; 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: file334846ec6731.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' [205s] 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="file510204f581897.dll" WIN=64 TCLBIN= OBJECTS="file510204f581897.o" make would use make[1]: Entering directory '/d/temp/2026_09_23_09_31_10_28374/RtmpYHyA0t' 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_23_09_31_10_28374/RtmpMPJuTW/RLIBS_2e7d06369546f/RcppEigen/include/" -I"D:/temp/2026_09_23_09_31_10_28374/RtmpMPJuTW/RLIBS_2e7d06369546f/RcppEigen/include/unsupported" -I"D:/temp/2026_09_23_09_31_10_28374/RtmpMPJuTW/RLIBS_2e7d06369546f/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 file510204f581897.cpp -o file510204f581897.o if test "zfile510204f581897.o" != "z"; then \ if test -e "file510204f581897-win.def"; then \ echo g++ -shared -s -static-libgcc -o file510204f581897.dll file510204f581897-win.def file510204f581897.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 file510204f581897.dll file510204f581897-win.def file510204f581897.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 file510204f581897.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 file510204f581897.dll tmp.def file510204f581897.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 file510204f581897.dll tmp.def file510204f581897.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_23_09_31_10_28374/RtmpYHyA0t' 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="file5102024fc29f0.dll" WIN=64 TCLBIN= OBJECTS="file5102024fc29f0.o" make would use make[1]: Entering directory '/d/temp/2026_09_23_09_31_10_28374/RtmpYHyA0t' 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_23_09_31_10_28374/RtmpMPJuTW/RLIBS_2e7d06369546f/RcppEigen/include/" -I"D:/temp/2026_09_23_09_31_10_28374/RtmpMPJuTW/RLIBS_2e7d06369546f/RcppEigen/include/unsupported" -I"D:/temp/2026_09_23_09_31_10_28374/RtmpMPJuTW/RLIBS_2e7d06369546f/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 file5102024fc29f0.cpp -o file5102024fc29f0.o if test "zfile5102024fc29f0.o" != "z"; then \ if test -e "file5102024fc29f0-win.def"; then \ echo g++ -shared -s -static-libgcc -o file5102024fc29f0.dll file5102024fc29f0-win.def file5102024fc29f0.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 file5102024fc29f0.dll file5102024fc29f0-win.def file5102024fc29f0.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 file5102024fc29f0.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 file5102024fc29f0.dll tmp.def file5102024fc29f0.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 file5102024fc29f0.dll tmp.def file5102024fc29f0.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_23_09_31_10_28374/RtmpYHyA0t' 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)`: del5102061555020__namespace::model5102061555020_; 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: file510204f581897.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)`: model51020128ba42__namespace::model51020128ba42_; 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: file5102024fc29f0.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