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.

CRAN Package Check Results for Package bonsaiforest

Last updated on 2026-09-23 18:56:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 64.21 720.19 784.40 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 46.93 663.52 710.45 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 47.00 349.72 396.72 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 47.00 470.09 517.09 OK
r-devel-windows-x86_64 0.1.1 74.00 453.00 527.00 ERROR
r-patched-linux-x86_64 0.1.1 53.20 709.04 762.24 OK
r-release-linux-x86_64 0.1.1 52.31 718.84 771.15 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 71.00 319.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 91.00 438.00 529.00 ERROR

Check Details

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="file21c8c2dfd1c16.dll" WIN=64 TCLBIN= OBJECTS="file21c8c2dfd1c16.o" make would use make[1]: Entering directory '/d/temp/2026_09_17_01_50_00_14611/Rtmp42IxDB' 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/RtmpsBtiGx/RLIBS_3d1c8379c446/RcppEigen/include/" -I"D:/temp/2026_09_17_01_50_00_14611/RtmpsBtiGx/RLIBS_3d1c8379c446/RcppEigen/include/unsupported" -I"D:/temp/2026_09_17_01_50_00_14611/RtmpsBtiGx/RLIBS_3d1c8379c446/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 file21c8c2dfd1c16.cpp -o file21c8c2dfd1c16.o if test "zfile21c8c2dfd1c16.o" != "z"; then \ if test -e "file21c8c2dfd1c16-win.def"; then \ echo g++ -shared -s -static-libgcc -o file21c8c2dfd1c16.dll file21c8c2dfd1c16-win.def file21c8c2dfd1c16.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 file21c8c2dfd1c16.dll file21c8c2dfd1c16-win.def file21c8c2dfd1c16.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 file21c8c2dfd1c16.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 file21c8c2dfd1c16.dll tmp.def file21c8c2dfd1c16.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 file21c8c2dfd1c16.dll tmp.def file21c8c2dfd1c16.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/Rtmp42IxDB' 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)`: l = model21c8c32652e29__namespace::model21c8c32652e29_; 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: file21c8c2dfd1c16.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' [102s] 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="file1331816e95dc2.dll" WIN=64 TCLBIN= OBJECTS="file1331816e95dc2.o" make would use make[1]: Entering directory '/d/temp/2026_09_15_23_01_57_27218/RtmpcXKZ4q' 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/RtmpSm4wd8/RLIBS_406745bd6171/RcppEigen/include/" -I"D:/temp/2026_09_15_23_01_57_27218/RtmpSm4wd8/RLIBS_406745bd6171/RcppEigen/include/unsupported" -I"D:/temp/2026_09_15_23_01_57_27218/RtmpSm4wd8/RLIBS_406745bd6171/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 file1331816e95dc2.cpp -o file1331816e95dc2.o if test "zfile1331816e95dc2.o" != "z"; then \ if test -e "file1331816e95dc2-win.def"; then \ echo g++ -shared -s -static-libgcc -o file1331816e95dc2.dll file1331816e95dc2-win.def file1331816e95dc2.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 file1331816e95dc2.dll file1331816e95dc2-win.def file1331816e95dc2.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 file1331816e95dc2.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 file1331816e95dc2.dll tmp.def file1331816e95dc2.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 file1331816e95dc2.dll tmp.def file1331816e95dc2.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/RtmpcXKZ4q' 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)`: del1331827195fab__namespace::model1331827195fab_; 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: file1331816e95dc2.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' [141s] 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="filefc98359b769.dll" WIN=64 TCLBIN= OBJECTS="filefc98359b769.o" make would use make[1]: Entering directory '/d/temp/2026_09_15_23_03_36_27542/RtmpY7T38F' 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_15_23_03_36_27542/Rtmpesdjei/RLIBS_2ea6456c6d21/RcppEigen/include/" -I"D:/temp/2026_09_15_23_03_36_27542/Rtmpesdjei/RLIBS_2ea6456c6d21/RcppEigen/include/unsupported" -I"D:/temp/2026_09_15_23_03_36_27542/Rtmpesdjei/RLIBS_2ea6456c6d21/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 filefc98359b769.cpp -o filefc98359b769.o if test "zfilefc98359b769.o" != "z"; then \ if test -e "filefc98359b769-win.def"; then \ echo g++ -shared -s -static-libgcc -o filefc98359b769.dll filefc98359b769-win.def filefc98359b769.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 filefc98359b769.dll filefc98359b769-win.def filefc98359b769.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 filefc98359b769.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 filefc98359b769.dll tmp.def filefc98359b769.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 filefc98359b769.dll tmp.def filefc98359b769.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_15_23_03_36_27542/RtmpY7T38F' 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)`: = modelfc98406c3621__namespace::modelfc98406c3621_; 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: filefc98359b769.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.