Running 'testthat.R' [156s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(bayestestR)
  > 
  > test_check("bayestestR")
  Starting 2 test processes.
  > test-BFBayesFactor.R: Multiple `BFBayesFactor` models detected - posteriors are extracted from
  > test-BFBayesFactor.R:   the first numerator model.
  > test-BFBayesFactor.R:   See help("get_parameters", package = "insight").
  > test-BFBayesFactor.R: Multiple `BFBayesFactor` models detected - posteriors are extracted from
  > test-BFBayesFactor.R:   the first numerator model.
  > test-BFBayesFactor.R:   See help("get_parameters", package = "insight").
  > test-BFBayesFactor.R: Multiple `BFBayesFactor` models detected - posteriors are extracted from
  > test-BFBayesFactor.R:   the first numerator model.
  > test-BFBayesFactor.R:   See help("get_parameters", package = "insight").
  > test-rope_range.R: Compiling Stan program...
  > test-rope_range.R: specified C++17
  > test-rope_range.R: make cmd is
  > test-rope_range.R:   
  > test-rope_range.R: 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="file10ddc73302584.dll" WIN=64 TCLBIN= OBJECTS="file10ddc73302584.o"
  > test-rope_range.R: 
  > test-rope_range.R: make would use
  > test-rope_range.R: make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpCOaMuq'
  > test-rope_range.R: g++  -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG   -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/"  -I"D:/temp/2026_04_17_01_50_00_1722/RtmpQxGFBE/RLIBS_b6f47eb434a9/RcppEigen/include/"  -I"D:/temp/2026_04_17_01_50_00_1722/RtmpQxGFBE/RLIBS_b6f47eb434a9/RcppEigen/include/unsupported"  -I"D:/temp/2026_04_17_01_50_00_1722/RtmpQxGFBE/RLIBS_b6f47eb434a9/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 -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 file10ddc73302584.cpp -o file10ddc73302584.o
  > test-rope_range.R: if test "zfile10ddc73302584.o" != "z"; then \
  > test-rope_range.R:   if test -e "file10ddc73302584-win.def"; then \
  > test-rope_range.R:     echo g++   -shared  -s -static-libgcc -o file10ddc73302584.dll file10ddc73302584-win.def file10ddc73302584.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 -L"D:/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/bin/x64" -lR ; \
  > test-rope_range.R:     g++   -shared  -s -static-libgcc -o file10ddc73302584.dll file10ddc73302584-win.def file10ddc73302584.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 -L"D:/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/bin/x64" -lR ; \
  > test-rope_range.R:   else \
  > test-rope_range.R:     echo EXPORTS > tmp.def; \
  > test-rope_range.R:     nm file10ddc73302584.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g'  >> tmp.def; \
  > test-rope_range.R:     echo g++   -shared  -s -static-libgcc -o file10ddc73302584.dll tmp.def file10ddc73302584.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 -L"D:/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/bin/x64" -lR ; \
  > test-rope_range.R:     g++   -shared  -s -static-libgcc -o file10ddc73302584.dll tmp.def file10ddc73302584.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 -L"D:/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/bin/x64" -lR ; \
  > test-rope_range.R:     rm -f tmp.def; \
  > test-rope_range.R:   fi \
  > test-rope_range.R: fi
  > test-rope_range.R: make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpCOaMuq'
  > test-rope_range.R: Compiling Stan program...
  > test-rope_range.R: specified C++17
  > test-rope_range.R: make cmd is
  > test-rope_range.R:   
  > test-rope_range.R: 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="file10ddc49283b27.dll" WIN=64 TCLBIN= OBJECTS="file10ddc49283b27.o"
  > test-rope_range.R: 
  > test-rope_range.R: make would use
  > test-rope_range.R: make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpCOaMuq'
  > test-rope_range.R: g++  -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG   -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/"  -I"D:/temp/2026_04_17_01_50_00_1722/RtmpQxGFBE/RLIBS_b6f47eb434a9/RcppEigen/include/"  -I"D:/temp/2026_04_17_01_50_00_1722/RtmpQxGFBE/RLIBS_b6f47eb434a9/RcppEigen/include/unsupported"  -I"D:/temp/2026_04_17_01_50_00_1722/RtmpQxGFBE/RLIBS_b6f47eb434a9/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 -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 file10ddc49283b27.cpp -o file10ddc49283b27.o
  > test-rope_range.R: if test "zfile10ddc49283b27.o" != "z"; then \
  > test-rope_range.R:   if test -e "file10ddc49283b27-win.def"; then \
  > test-rope_range.R:     echo g++   -shared  -s -static-libgcc -o file10ddc49283b27.dll file10ddc49283b27-win.def file10ddc49283b27.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 -L"D:/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/bin/x64" -lR ; \
  > test-rope_range.R:     g++   -shared  -s -static-libgcc -o file10ddc49283b27.dll file10ddc49283b27-win.def file10ddc49283b27.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 -L"D:/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/bin/x64" -lR ; \
  > test-rope_range.R:   else \
  > test-rope_range.R:     echo EXPORTS > tmp.def; \
  > test-rope_range.R:     nm file10ddc49283b27.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g'  >> tmp.def; \
  > test-rope_range.R:     echo g++   -shared  -s -static-libgcc -o file10ddc49283b27.dll tmp.def file10ddc49283b27.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 -L"D:/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/bin/x64" -lR ; \
  > test-rope_range.R:     g++   -shared  -s -static-libgcc -o file10ddc49283b27.dll tmp.def file10ddc49283b27.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 -L"D:/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/bin/x64" -lR ; \
  > test-rope_range.R:     rm -f tmp.def; \
  > test-rope_range.R:   fi \
  > test-rope_range.R: fi
  > test-rope_range.R: make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpCOaMuq'
  Saving _problems/test-rope_range-33.R
  Saving _problems/test-rope_range-33.R
  Saving _problems/test-rope_range-46.R
  Saving _problems/test-rope_range-46.R
  [ FAIL 4 | WARN 0 | SKIP 83 | PASS 259 ]
  
  ══ Skipped tests (83) ══════════════════════════════════════════════════════════
  • On CRAN (81): 'test-bayesfactor_models.R:58:3',
    'test-bayesfactor_models.R:85:3', 'test-bayesfactor_models.R:122:3',
    'test-bayesfactor_restricted.R:36:3', 'test-bayesian_as_frequentist.R:1:1',
    'test-blavaan.R:2:3', 'test-brms.R:2:3', 'test-brms.R:40:3',
    'test-brms.R:61:3', 'test-brms.R:87:3', 'test-check_prior.R:4:3',
    'test-check_prior.R:70:3', 'test-check_prior.R:110:3', 'test-ci.R:34:3',
    'test-ci.R:52:3', 'test-contr.R:2:3', 'test-contr.R:25:3',
    'test-contr.R:59:3', 'test-data.frame-with-rvar.R:3:3',
    'test-data.frame-with-rvar.R:74:3', 'test-bayesfactor_parameters.R:56:3',
    'test-bayesfactor_parameters.R:96:3', 'test-describe_prior.R:3:3',
    'test-describe_posterior.R:4:3', 'test-describe_posterior.R:114:3',
    'test-describe_posterior.R:252:3', 'test-describe_posterior.R:270:3',
    'test-describe_posterior.R:288:3', 'test-describe_posterior.R:327:3',
    'test-describe_posterior.R:700:3', 'test-effective_sample.R:3:3',
    'test-equivalence_test.R:1:1', 'test-hdi.R:4:3', 'test-hdi.R:27:3',
    'test-hdi.R:46:3', 'test-hdi.R:65:3', 'test-map_estimate.R:24:3',
    'test-map_estimate.R:44:3', 'test-marginaleffects.R:1:1',
    'test-p_direction.R:39:3', 'test-p_direction.R:73:3', 'test-p_map.R:25:3',
    'test-p_map.R:42:3', 'test-p_rope.R:3:3', 'test-p_significance.R:39:3',
    'test-p_significance.R:53:3', 'test-p_significance.R:89:3',
    'test-point_estimate.R:3:3', 'test-point_estimate.R:20:3',
    'test-posterior.R:3:3', 'test-posterior.R:25:3', 'test-posterior.R:47:3',
    'test-posterior.R:69:3', 'test-posterior.R:91:3', 'test-posterior.R:114:3',
    'test-print.R:2:3', 'test-rope.R:1:1', 'test-rope.R:112:3',
    'test-rope.R:182:3', 'test-rope.R:198:3', 'test-rope.R:210:3',
    'test-rope.R:236:3', 'test-emmGrid.R:132:3', 'test-emmGrid.R:142:3',
    'test-emmGrid.R:172:3', 'test-emmGrid.R:188:3', 'test-emmGrid.R:224:3',
    'test-emmGrid.R:234:3', 'test-rstanarm.R:2:3', 'test-rstanarm.R:51:3',
    'test-rstanarm.R:71:3', 'test-rstanarm.R:100:3', 'test-rstanarm.R:124:3',
    'test-si.R:33:3', 'test-spi.R:4:3', 'test-spi.R:27:3', 'test-spi.R:45:3',
    'test-spi.R:64:3', 'test-weighted_posteriors.R:4:3',
    'test-weighted_posteriors.R:31:3', 'test-weighted_posteriors.R:52:3'
  • TODO: check hard-coded values (1): 'test-check_prior.R:29:3'
  • Test creates error, must check why... (1): 'test-weighted_posteriors.R:71:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-rope_range.R:33:3'): rope_range ────────────────────────────────
  Error in `compileCode(f, code, language = language, verbose = verbose)`: del = model10ddc99a5a60__namespace::model10ddc99a5a60_; 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/etc/x64/Makeconf:304: file10ddc73302584.o] Error 1
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-rope_range.R:33:3
    2. │ └─base::withCallingHandlers(...)
    3. └─brms::brm(mpg ~ wt + gear, data = mtcars, iter = 300)
    4.   └─brms::do_call(compile_model, compile_args)
    5.     └─brms:::eval2(call, envir = args, enclos = envir)
    6.       └─base::eval(expr, envir, ...)
    7.         └─base::eval(expr, envir, ...)
    8.           └─brms (local) .fun(...)
    9.             └─brms (local) .compile_model(model, ...)
   10.               ├─brms:::eval_silent(...)
   11.               │ └─base::eval(expr, envir)
   12.               │   └─base::eval(expr, envir)
   13.               └─brms::do_call(rstan::stan_model, args)
   14.                 └─brms:::eval2(call, envir = args, enclos = envir)
   15.                   └─base::eval(expr, envir, ...)
   16.                     └─base::eval(expr, envir, ...)
   17.                       └─rstan (local) .fun(model_code = .x1)
   18.                         └─rstan:::cxxfunctionplus(...)
   19.                           ├─pkgbuild::with_build_tools(...)
   20.                           │ └─pkgbuild:::withr_with_path(rtools_path(), code)
   21.                           │   └─base::force(code)
   22.                           └─inline::cxxfunction(...)
   23.                             └─inline:::compileCode(f, code, language = language, verbose = verbose)
  ── Error ('test-rope_range.R:33:3'): rope_range ────────────────────────────────
  Error in `sink(type = "output")`: invalid connection
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-rope_range.R:33:3
    2. │ └─base::withCallingHandlers(...)
    3. └─brms::brm(mpg ~ wt + gear, data = mtcars, iter = 300)
    4.   └─brms::do_call(compile_model, compile_args)
    5.     └─brms:::eval2(call, envir = args, enclos = envir)
    6.       └─base::eval(expr, envir, ...)
    7.         └─base::eval(expr, envir, ...)
    8.           └─brms (local) .fun(...)
    9.             └─brms (local) .compile_model(model, ...)
   10.               ├─brms:::eval_silent(...)
   11.               │ └─base::eval(expr, envir)
   12.               │   └─base::eval(expr, envir)
   13.               └─brms::do_call(rstan::stan_model, args)
   14.                 └─brms:::eval2(call, envir = args, enclos = envir)
   15.                   └─base::eval(expr, envir, ...)
   16.                     └─base::eval(expr, envir, ...)
   17.                       └─rstan (local) .fun(model_code = .x1)
   18.                         └─rstan:::cxxfunctionplus(...)
   19.                           └─base::sink(type = "output")
  ── Error ('test-rope_range.R:44:3'): rope_range (multivariate) ─────────────────
  Error in `compileCode(f, code, language = language, verbose = verbose)`: l = model10ddc772b6b5f__namespace::model10ddc772b6b5f_; 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/etc/x64/Makeconf:304: file10ddc49283b27.o] Error 1
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-rope_range.R:44:3
    2. │ └─base::withCallingHandlers(...)
    3. └─brms::brm(...)
    4.   └─brms::do_call(compile_model, compile_args)
    5.     └─brms:::eval2(call, envir = args, enclos = envir)
    6.       └─base::eval(expr, envir, ...)
    7.         └─base::eval(expr, envir, ...)
    8.           └─brms (local) .fun(...)
    9.             └─brms (local) .compile_model(model, ...)
   10.               ├─brms:::eval_silent(...)
   11.               │ └─base::eval(expr, envir)
   12.               │   └─base::eval(expr, envir)
   13.               └─brms::do_call(rstan::stan_model, args)
   14.                 └─brms:::eval2(call, envir = args, enclos = envir)
   15.                   └─base::eval(expr, envir, ...)
   16.                     └─base::eval(expr, envir, ...)
   17.                       └─rstan (local) .fun(model_code = .x1)
   18.                         └─rstan:::cxxfunctionplus(...)
   19.                           ├─pkgbuild::with_build_tools(...)
   20.                           │ └─pkgbuild:::withr_with_path(rtools_path(), code)
   21.                           │   └─base::force(code)
   22.                           └─inline::cxxfunction(...)
   23.                             └─inline:::compileCode(f, code, language = language, verbose = verbose)
  ── Error ('test-rope_range.R:44:3'): rope_range (multivariate) ─────────────────
  Error in `sink(type = "output")`: invalid connection
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-rope_range.R:44:3
    2. │ └─base::withCallingHandlers(...)
    3. └─brms::brm(...)
    4.   └─brms::do_call(compile_model, compile_args)
    5.     └─brms:::eval2(call, envir = args, enclos = envir)
    6.       └─base::eval(expr, envir, ...)
    7.         └─base::eval(expr, envir, ...)
    8.           └─brms (local) .fun(...)
    9.             └─brms (local) .compile_model(model, ...)
   10.               ├─brms:::eval_silent(...)
   11.               │ └─base::eval(expr, envir)
   12.               │   └─base::eval(expr, envir)
   13.               └─brms::do_call(rstan::stan_model, args)
   14.                 └─brms:::eval2(call, envir = args, enclos = envir)
   15.                   └─base::eval(expr, envir, ...)
   16.                     └─base::eval(expr, envir, ...)
   17.                       └─rstan (local) .fun(model_code = .x1)
   18.                         └─rstan:::cxxfunctionplus(...)
   19.                           └─base::sink(type = "output")
  
  [ FAIL 4 | WARN 0 | SKIP 83 | PASS 259 ]
  Error:
  ! Test failures.
  Execution halted