The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Last updated on 2026-10-14 00:59:29 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.1 | 59.82 | 781.62 | 841.44 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.1 | 43.91 | 771.07 | 814.98 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.1 | 47.00 | 343.67 | 390.67 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.1 | 47.00 | 462.81 | 509.81 | OK | |
| r-devel-windows-x86_64 | 0.1.1 | 77.00 | 449.00 | 526.00 | ERROR | |
| r-patched-linux-x86_64 | 0.1.1 | 53.40 | 759.63 | 813.03 | OK | |
| r-release-linux-x86_64 | 0.1.1 | 53.78 | 755.92 | 809.70 | OK | |
| r-release-macos-arm64 | 0.1.1 | 16.00 | 113.00 | 129.00 | OK | |
| r-release-macos-x86_64 | 0.1.1 | 44.00 | 668.00 | 712.00 | OK | |
| r-release-windows-x86_64 | 0.1.1 | 69.00 | 321.00 | 390.00 | ERROR | |
| r-oldrel-macos-arm64 | 0.1.1 | OK | ||||
| r-oldrel-macos-x86_64 | 0.1.1 | 39.00 | 614.00 | 653.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.1 | 88.00 | 436.00 | 524.00 | ERROR |
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [108s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(bonsaiforest)
Attaching package: 'bonsaiforest'
The following object is masked from 'package:testthat':
compare
>
> test_check("bonsaiforest")
Compiling Stan program...
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="file52c50184a4f9.dll" WIN=64 TCLBIN= OBJECTS="file52c50184a4f9.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_24_01_50_00_23554/Rtmp08NxJm'
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/RtmpOAfPsa/RLIBS_588606ed06e10/RcppEigen/include/" -I"D:/temp/2026_09_24_01_50_00_23554/RtmpOAfPsa/RLIBS_588606ed06e10/RcppEigen/include/unsupported" -I"D:/temp/2026_09_24_01_50_00_23554/RtmpOAfPsa/RLIBS_588606ed06e10/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 file52c50184a4f9.cpp -o file52c50184a4f9.o
if test "zfile52c50184a4f9.o" != "z"; then \
if test -e "file52c50184a4f9-win.def"; then \
echo g++ -shared -s -static-libgcc -o file52c50184a4f9.dll file52c50184a4f9-win.def file52c50184a4f9.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 file52c50184a4f9.dll file52c50184a4f9-win.def file52c50184a4f9.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 file52c50184a4f9.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 file52c50184a4f9.dll tmp.def file52c50184a4f9.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 file52c50184a4f9.dll tmp.def file52c50184a4f9.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/Rtmp08NxJm'
Saving _problems/test-horseshoe-14.R
[ FAIL 2 | WARN 25 | SKIP 12 | PASS 68 ]
══ Skipped tests (12) ══════════════════════════════════════════════════════════
• On CRAN (12): 'test-horseshoe.R:60:3', 'test-plot.R:1:1', 'test-plot.R:6:1',
'test-plot.R:11:1', 'test-plot.R:16:1', 'test-print.R:1:1',
'test-print.R:6:1', 'test-print.R:11:1', 'test-print.R:16:1',
'test-simulation.R:12:1', 'test-simulation.R:19:1', 'test-simulation.R:26:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-horseshoe.R:2:3'): horseshoe outputs the right elements for survival ──
Error in `compileCode(f, code, language = language, verbose = verbose)`: el = model52c50760c6634__namespace::model52c50760c6634_; 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: file52c50184a4f9.o] Error 1
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-horseshoe.R:2:3
2. │ └─base::withCallingHandlers(...)
3. └─bonsaiforest::horseshoe(...)
4. ├─base::do.call(fit_function, args = list_arguments)
5. └─bonsaiforest (local) `<fn>`(iter = 20, warmup = 10, chains = 1, seed = 0, control = `<named list>`)
6. └─brms::brm(...)
7. └─brms::do_call(compile_model, compile_args)
8. └─brms:::eval2(call, envir = args, enclos = envir)
9. └─base::eval(expr, envir, ...)
10. └─base::eval(expr, envir, ...)
11. └─brms (local) .fun(...)
12. └─brms (local) .compile_model(model, ...)
13. ├─brms:::eval_silent(...)
14. │ └─base::eval(expr, envir)
15. │ └─base::eval(expr, envir)
16. └─brms::do_call(rstan::stan_model, args)
17. └─brms:::eval2(call, envir = args, enclos = envir)
18. └─base::eval(expr, envir, ...)
19. └─base::eval(expr, envir, ...)
20. └─rstan (local) .fun(model_code = .x1)
21. └─rstan:::cxxfunctionplus(...)
22. ├─pkgbuild::with_build_tools(...)
23. │ └─pkgbuild:::withr_with_path(rtools_path(), code)
24. │ └─base::force(code)
25. └─inline::cxxfunction(...)
26. └─inline:::compileCode(f, code, language = language, verbose = verbose)
── Error ('test-horseshoe.R:2:3'): horseshoe outputs the right elements for survival ──
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-horseshoe.R:2:3
2. │ └─base::withCallingHandlers(...)
3. └─bonsaiforest::horseshoe(...)
4. ├─base::do.call(fit_function, args = list_arguments)
5. └─bonsaiforest (local) `<fn>`(iter = 20, warmup = 10, chains = 1, seed = 0, control = `<named list>`)
6. └─brms::brm(...)
7. └─brms::do_call(compile_model, compile_args)
8. └─brms:::eval2(call, envir = args, enclos = envir)
9. └─base::eval(expr, envir, ...)
10. └─base::eval(expr, envir, ...)
11. └─brms (local) .fun(...)
12. └─brms (local) .compile_model(model, ...)
13. ├─brms:::eval_silent(...)
14. │ └─base::eval(expr, envir)
15. │ └─base::eval(expr, envir)
16. └─brms::do_call(rstan::stan_model, args)
17. └─brms:::eval2(call, envir = args, enclos = envir)
18. └─base::eval(expr, envir, ...)
19. └─base::eval(expr, envir, ...)
20. └─rstan (local) .fun(model_code = .x1)
21. └─rstan:::cxxfunctionplus(...)
22. └─base::sink(type = "output")
[ FAIL 2 | WARN 25 | SKIP 12 | PASS 68 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [103s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(bonsaiforest)
Attaching package: 'bonsaiforest'
The following object is masked from 'package:testthat':
compare
>
> test_check("bonsaiforest")
Compiling Stan program...
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="file3279869fa221.dll" WIN=64 TCLBIN= OBJECTS="file3279869fa221.o"
make would use
make[1]: Entering directory '/d/temp/2026_09_29_12_06_12_14923/RtmpSkeybx'
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/RtmpSQrovb/RLIBS_5381c5f176f8e/RcppEigen/include/" -I"D:/temp/2026_09_29_12_06_12_14923/RtmpSQrovb/RLIBS_5381c5f176f8e/RcppEigen/include/unsupported" -I"D:/temp/2026_09_29_12_06_12_14923/RtmpSQrovb/RLIBS_5381c5f176f8e/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 file3279869fa221.cpp -o file3279869fa221.o
if test "zfile3279869fa221.o" != "z"; then \
if test -e "file3279869fa221-win.def"; then \
echo g++ -shared -s -static-libgcc -o file3279869fa221.dll file3279869fa221-win.def file3279869fa221.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 file3279869fa221.dll file3279869fa221-win.def file3279869fa221.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 file3279869fa221.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 file3279869fa221.dll tmp.def file3279869fa221.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 file3279869fa221.dll tmp.def file3279869fa221.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/RtmpSkeybx'
Saving _problems/test-horseshoe-14.R
[ FAIL 2 | WARN 25 | SKIP 12 | PASS 68 ]
══ Skipped tests (12) ══════════════════════════════════════════════════════════
• On CRAN (12): 'test-horseshoe.R:60:3', 'test-plot.R:1:1', 'test-plot.R:6:1',
'test-plot.R:11:1', 'test-plot.R:16:1', 'test-print.R:1:1',
'test-print.R:6:1', 'test-print.R:11:1', 'test-print.R:16:1',
'test-simulation.R:12:1', 'test-simulation.R:19:1', 'test-simulation.R:26:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-horseshoe.R:2:3'): horseshoe outputs the right elements for survival ──
Error in `compileCode(f, code, language = language, verbose = verbose)`: odel327984cbd2b6b__namespace::model327984cbd2b6b_; 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: file3279869fa221.o] Error 1
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-horseshoe.R:2:3
2. │ └─base::withCallingHandlers(...)
3. └─bonsaiforest::horseshoe(...)
4. ├─base::do.call(fit_function, args = list_arguments)
5. └─bonsaiforest (local) `<fn>`(iter = 20, warmup = 10, chains = 1, seed = 0, control = `<named list>`)
6. └─brms::brm(...)
7. └─brms::do_call(compile_model, compile_args)
8. └─brms:::eval2(call, envir = args, enclos = envir)
9. └─base::eval(expr, envir, ...)
10. └─base::eval(expr, envir, ...)
11. └─brms (local) .fun(...)
12. └─brms (local) .compile_model(model, ...)
13. ├─brms:::eval_silent(...)
14. │ └─base::eval(expr, envir)
15. │ └─base::eval(expr, envir)
16. └─brms::do_call(rstan::stan_model, args)
17. └─brms:::eval2(call, envir = args, enclos = envir)
18. └─base::eval(expr, envir, ...)
19. └─base::eval(expr, envir, ...)
20. └─rstan (local) .fun(model_code = .x1)
21. └─rstan:::cxxfunctionplus(...)
22. ├─pkgbuild::with_build_tools(...)
23. │ └─pkgbuild:::withr_with_path(rtools_path(), code)
24. │ └─base::force(code)
25. └─inline::cxxfunction(...)
26. └─inline:::compileCode(f, code, language = language, verbose = verbose)
── Error ('test-horseshoe.R:2:3'): horseshoe outputs the right elements for survival ──
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-horseshoe.R:2:3
2. │ └─base::withCallingHandlers(...)
3. └─bonsaiforest::horseshoe(...)
4. ├─base::do.call(fit_function, args = list_arguments)
5. └─bonsaiforest (local) `<fn>`(iter = 20, warmup = 10, chains = 1, seed = 0, control = `<named list>`)
6. └─brms::brm(...)
7. └─brms::do_call(compile_model, compile_args)
8. └─brms:::eval2(call, envir = args, enclos = envir)
9. └─base::eval(expr, envir, ...)
10. └─base::eval(expr, envir, ...)
11. └─brms (local) .fun(...)
12. └─brms (local) .compile_model(model, ...)
13. ├─brms:::eval_silent(...)
14. │ └─base::eval(expr, envir)
15. │ └─base::eval(expr, envir)
16. └─brms::do_call(rstan::stan_model, args)
17. └─brms:::eval2(call, envir = args, enclos = envir)
18. └─base::eval(expr, envir, ...)
19. └─base::eval(expr, envir, ...)
20. └─rstan (local) .fun(model_code = .x1)
21. └─rstan:::cxxfunctionplus(...)
22. └─base::sink(type = "output")
[ FAIL 2 | WARN 25 | SKIP 12 | PASS 68 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [144s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(bonsaiforest)
Attaching package: 'bonsaiforest'
The following object is masked from 'package:testthat':
compare
>
> test_check("bonsaiforest")
Compiling Stan program...
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="file418f04d7b5cae.dll" WIN=64 TCLBIN= OBJECTS="file418f04d7b5cae.o"
make would use
make[1]: Entering directory '/d/temp/2026_10_12_01_50_00_23142/Rtmpa4881W'
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_12_01_50_00_23142/Rtmp42Dj0s/RLIBS_1657854be1416/RcppEigen/include/" -I"D:/temp/2026_10_12_01_50_00_23142/Rtmp42Dj0s/RLIBS_1657854be1416/RcppEigen/include/unsupported" -I"D:/temp/2026_10_12_01_50_00_23142/Rtmp42Dj0s/RLIBS_1657854be1416/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 file418f04d7b5cae.cpp -o file418f04d7b5cae.o
if test "zfile418f04d7b5cae.o" != "z"; then \
if test -e "file418f04d7b5cae-win.def"; then \
echo g++ -shared -s -static-libgcc -o file418f04d7b5cae.dll file418f04d7b5cae-win.def file418f04d7b5cae.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 file418f04d7b5cae.dll file418f04d7b5cae-win.def file418f04d7b5cae.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 file418f04d7b5cae.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 file418f04d7b5cae.dll tmp.def file418f04d7b5cae.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 file418f04d7b5cae.dll tmp.def file418f04d7b5cae.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_12_01_50_00_23142/Rtmpa4881W'
Saving _problems/test-horseshoe-14.R
[ FAIL 2 | WARN 25 | SKIP 12 | PASS 68 ]
══ Skipped tests (12) ══════════════════════════════════════════════════════════
• On CRAN (12): 'test-horseshoe.R:60:3', 'test-plot.R:1:1', 'test-plot.R:6:1',
'test-plot.R:11:1', 'test-plot.R:16:1', 'test-print.R:1:1',
'test-print.R:6:1', 'test-print.R:11:1', 'test-print.R:16:1',
'test-simulation.R:12:1', 'test-simulation.R:19:1', 'test-simulation.R:26:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-horseshoe.R:2:3'): horseshoe outputs the right elements for survival ──
Error in `compileCode(f, code, language = language, verbose = verbose)`: del418f04239243f__namespace::model418f04239243f_; 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: file418f04d7b5cae.o] Error 1
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-horseshoe.R:2:3
2. │ └─base::withCallingHandlers(...)
3. └─bonsaiforest::horseshoe(...)
4. ├─base::do.call(fit_function, args = list_arguments)
5. └─bonsaiforest (local) `<fn>`(iter = 20, warmup = 10, chains = 1, seed = 0, control = `<named list>`)
6. └─brms::brm(...)
7. └─brms::do_call(compile_model, compile_args)
8. └─brms:::eval2(call, envir = args, enclos = envir)
9. └─base::eval(expr, envir, ...)
10. └─base::eval(expr, envir, ...)
11. └─brms (local) .fun(...)
12. └─brms (local) .compile_model(model, ...)
13. ├─brms:::eval_silent(...)
14. │ └─base::eval(expr, envir)
15. │ └─base::eval(expr, envir)
16. └─brms::do_call(rstan::stan_model, args)
17. └─brms:::eval2(call, envir = args, enclos = envir)
18. └─base::eval(expr, envir, ...)
19. └─base::eval(expr, envir, ...)
20. └─rstan (local) .fun(model_code = .x1)
21. └─rstan:::cxxfunctionplus(...)
22. ├─pkgbuild::with_build_tools(...)
23. │ └─pkgbuild:::withr_with_path(rtools_path(), code)
24. │ └─base::force(code)
25. └─inline::cxxfunction(...)
26. └─inline:::compileCode(f, code, language = language, verbose = verbose)
── Error ('test-horseshoe.R:2:3'): horseshoe outputs the right elements for survival ──
Error in `sink(type = "output")`: invalid connection
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-horseshoe.R:2:3
2. │ └─base::withCallingHandlers(...)
3. └─bonsaiforest::horseshoe(...)
4. ├─base::do.call(fit_function, args = list_arguments)
5. └─bonsaiforest (local) `<fn>`(iter = 20, warmup = 10, chains = 1, seed = 0, control = `<named list>`)
6. └─brms::brm(...)
7. └─brms::do_call(compile_model, compile_args)
8. └─brms:::eval2(call, envir = args, enclos = envir)
9. └─base::eval(expr, envir, ...)
10. └─base::eval(expr, envir, ...)
11. └─brms (local) .fun(...)
12. └─brms (local) .compile_model(model, ...)
13. ├─brms:::eval_silent(...)
14. │ └─base::eval(expr, envir)
15. │ └─base::eval(expr, envir)
16. └─brms::do_call(rstan::stan_model, args)
17. └─brms:::eval2(call, envir = args, enclos = envir)
18. └─base::eval(expr, envir, ...)
19. └─base::eval(expr, envir, ...)
20. └─rstan (local) .fun(model_code = .x1)
21. └─rstan:::cxxfunctionplus(...)
22. └─base::sink(type = "output")
[ FAIL 2 | WARN 25 | SKIP 12 | PASS 68 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.