* using log directory 'd:/Rcompile/CRANpkg/local/4.5/rbmiUtils.Rcheck'
* using R version 4.5.3 (2026-03-11 ucrt)
* using platform: x86_64-w64-mingw32
* R was compiled by
    gcc.exe (GCC) 14.3.0
    GNU Fortran (GCC) 14.3.0
* running under: Windows Server 2022 x64 (build 20348)
* using session charset: UTF-8
* checking for file 'rbmiUtils/DESCRIPTION' ... OK
* this is package 'rbmiUtils' version '0.3.0'
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'rbmiUtils' can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... [0s] OK
* checking whether the package can be loaded with stated dependencies ... [0s] OK
* checking whether the package can be unloaded cleanly ... [0s] OK
* checking whether the namespace can be loaded with stated dependencies ... [0s] OK
* checking whether the namespace can be unloaded cleanly ... [1s] OK
* checking loading without being on the library search path ... [0s] OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... [7s] OK
* checking Rd files ... [1s] OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of 'data' directory ... OK
* checking data for non-ASCII characters ... [4s] OK
* checking LazyData ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking installed files from 'inst/doc' ... OK
* checking files in 'vignettes' ... OK
* checking examples ... [19s] OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ... [165s] ERROR
  Running 'spelling.R' [0s]
  Running 'testthat.R' [165s]
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(rbmiUtils)
  > 
  > test_check("rbmiUtils")
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  v All outcome values are complete -- no missing data to impute.
  i You may not need `data_ice` for `rbmi::draws()`.
  v All outcome values are complete -- no missing data to impute.
  i You may not need `data_ice` for `rbmi::draws()`.
  v All outcome values are complete -- no missing data to impute.
  i You may not need `data_ice` for `rbmi::draws()`.
  v All outcome values are complete -- no missing data to impute.
  i You may not need `data_ice` for `rbmi::draws()`.
  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="file201483d3311e1.dll" WIN=64 TCLBIN= OBJECTS="file201483d3311e1.o"
  
  make would use
  make[1]: Entering directory '/d/temp/2026_10_07_16_17_17_27527/RtmpY58dbV'
  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_07_16_17_17_27527/RtmpERuCKL/RLIBS_5d6587e793153/RcppEigen/include/"  -I"D:/temp/2026_10_07_16_17_17_27527/RtmpERuCKL/RLIBS_5d6587e793153/RcppEigen/include/unsupported"  -I"D:/temp/2026_10_07_16_17_17_27527/RtmpERuCKL/RLIBS_5d6587e793153/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 file201483d3311e1.cpp -o file201483d3311e1.o
  if test "zfile201483d3311e1.o" != "z"; then \
    if test -e "file201483d3311e1-win.def"; then \
      echo g++  -shared -s -static-libgcc -o file201483d3311e1.dll file201483d3311e1-win.def file201483d3311e1.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 file201483d3311e1.dll file201483d3311e1-win.def file201483d3311e1.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 file201483d3311e1.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 file201483d3311e1.dll tmp.def file201483d3311e1.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 file201483d3311e1.dll tmp.def file201483d3311e1.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_07_16_17_17_27527/RtmpY58dbV'
  Saving _problems/test-utils-44.R
  [ FAIL 2 | WARN 16 | SKIP 2 | PASS 1024 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • Stanfit mock requires real Stan compilation - tested via integration (1):
    'test-describe.R:273:3'
  • rbmi::pool() returned empty results for g-computation (df = NA not supported)
    (1): 'test-integration.R:279:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-utils.R:39:3'): positive test get_imputed_data (from vignettes) ──
  Error in `compileCode(f, code, language = language, verbose = verbose)`: mespace::model2014844492534_rbmi_MMRM_us_default; 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: file201483d3311e1.o] Error 1
  Backtrace:
       ▆
    1. ├─rbmi::draws(data = dat, vars = vars, method = method, quiet = TRUE) at test-utils.R:39:3
    2. └─rbmi:::draws.bayes(...)
    3.   └─rbmi:::fit_mcmc(...)
    4.     └─rbmi:::get_stan_model(covariance = method$covariance, prior_cov = method$prior_cov)
    5.       └─rstan::stan_model(...)
    6.         └─rstan:::cxxfunctionplus(...)
    7.           ├─pkgbuild::with_build_tools(...)
    8.           │ └─pkgbuild:::withr_with_path(rtools_path(), code)
    9.           │   └─base::force(code)
   10.           └─inline::cxxfunction(...)
   11.             └─inline:::compileCode(f, code, language = language, verbose = verbose)
  ── Error ('test-utils.R:39:3'): positive test get_imputed_data (from vignettes) ──
  Error in `sink(type = "output")`: invalid connection
  Backtrace:
      ▆
   1. ├─rbmi::draws(data = dat, vars = vars, method = method, quiet = TRUE) at test-utils.R:39:3
   2. └─rbmi:::draws.bayes(...)
   3.   └─rbmi:::fit_mcmc(...)
   4.     └─rbmi:::get_stan_model(covariance = method$covariance, prior_cov = method$prior_cov)
   5.       └─rstan::stan_model(...)
   6.         └─rstan:::cxxfunctionplus(...)
   7.           └─base::sink(type = "output")
  
  [ FAIL 2 | WARN 16 | SKIP 2 | PASS 1024 ]
  Error:
  ! Test failures.
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking re-building of vignette outputs ... [238s] ERROR
Error(s) in re-building vignettes:
--- re-building 'analyse2.Rmd' using rmarkdown
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="file5fcd052ef3148.dll" WIN=64 TCLBIN= OBJECTS="file5fcd052ef3148.o"

make would use
make[1]: Entering directory '/d/temp/2026_10_07_16_17_17_27527/RtmpojB5fN'
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_07_16_17_17_27527/RtmpERuCKL/RLIBS_5d6587e793153/RcppEigen/include/"  -I"D:/temp/2026_10_07_16_17_17_27527/RtmpERuCKL/RLIBS_5d6587e793153/RcppEigen/include/unsupported"  -I"D:/temp/2026_10_07_16_17_17_27527/RtmpERuCKL/RLIBS_5d6587e793153/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 file5fcd052ef3148.cpp -o file5fcd052ef3148.o
if test "zfile5fcd052ef3148.o" != "z"; then \
  if test -e "file5fcd052ef3148-win.def"; then \
    echo g++  -shared -s -static-libgcc -o file5fcd052ef3148.dll file5fcd052ef3148-win.def file5fcd052ef3148.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 file5fcd052ef3148.dll file5fcd052ef3148-win.def file5fcd052ef3148.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 file5fcd052ef3148.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 file5fcd052ef3148.dll tmp.def file5fcd052ef3148.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 file5fcd052ef3148.dll tmp.def file5fcd052ef3148.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_07_16_17_17_27527/RtmpojB5fN'

Quitting from analyse2.Rmd:98-107 [impute]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `sink()`:
! invalid connection
---
Backtrace:
    ▆
 1. ├─rbmi::draws(data = dat, vars = vars, method = method)
 2. └─rbmi:::draws.bayes(data = dat, vars = vars, method = method)
 3.   └─rbmi:::fit_mcmc(...)
 4.     └─rbmi:::get_stan_model(covariance = method$covariance, prior_cov = method$prior_cov)
 5.       └─rstan::stan_model(...)
 6.         └─rstan:::cxxfunctionplus(...)
 7.           └─base::sink(type = "output")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'analyse2.Rmd' failed with diagnostics:
invalid connection
--- failed re-building 'analyse2.Rmd'

--- re-building 'data-preparation.Rmd' using rmarkdown
--- finished re-building 'data-preparation.Rmd'

--- re-building 'deriving-endpoints.Rmd' using rmarkdown
--- finished re-building 'deriving-endpoints.Rmd'

--- re-building 'diagnostics.Rmd' using rmarkdown
--- finished re-building 'diagnostics.Rmd'

--- re-building 'efficient-storage.Rmd' using rmarkdown
--- finished re-building 'efficient-storage.Rmd'

--- re-building 'pipeline.Rmd' using rmarkdown
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="file263a461c12cc0.dll" WIN=64 TCLBIN= OBJECTS="file263a461c12cc0.o"

make would use
make[1]: Entering directory '/d/temp/2026_10_07_16_17_17_27527/RtmpiiBUbZ'
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_07_16_17_17_27527/RtmpERuCKL/RLIBS_5d6587e793153/RcppEigen/include/"  -I"D:/temp/2026_10_07_16_17_17_27527/RtmpERuCKL/RLIBS_5d6587e793153/RcppEigen/include/unsupported"  -I"D:/temp/2026_10_07_16_17_17_27527/RtmpERuCKL/RLIBS_5d6587e793153/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 file263a461c12cc0.cpp -o file263a461c12cc0.o
if test "zfile263a461c12cc0.o" != "z"; then \
  if test -e "file263a461c12cc0-win.def"; then \
    echo g++  -shared -s -static-libgcc -o file263a461c12cc0.dll file263a461c12cc0-win.def file263a461c12cc0.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 file263a461c12cc0.dll file263a461c12cc0-win.def file263a461c12cc0.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 file263a461c12cc0.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 file263a461c12cc0.dll tmp.def file263a461c12cc0.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 file263a461c12cc0.dll tmp.def file263a461c12cc0.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_07_16_17_17_27527/RtmpiiBUbZ'

Quitting from pipeline.Rmd:160-165 [draws]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `sink()`:
! invalid connection
---
Backtrace:
    ▆
 1. ├─rbmi::draws(data = dat, vars = vars, method = method)
 2. └─rbmi:::draws.bayes(data = dat, vars = vars, method = method)
 3.   └─rbmi:::fit_mcmc(...)
 4.     └─rbmi:::get_stan_model(covariance = method$covariance, prior_cov = method$prior_cov)
 5.       └─rstan::stan_model(...)
 6.         └─rstan:::cxxfunctionplus(...)
 7.           └─base::sink(type = "output")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'pipeline.Rmd' failed with diagnostics:
invalid connection
--- failed re-building 'pipeline.Rmd'

SUMMARY: processing the following files failed:
  'analyse2.Rmd' 'pipeline.Rmd'

Error: Vignette re-building failed.
Execution halted

* checking PDF version of manual ... [17s] OK
* checking HTML version of manual ... [7s] OK
* DONE
Status: 2 ERRORs
