* using log directory 'd:/Rcompile/CRANpkg/local/4.6/trps.Rcheck'
* using R version 4.6.1 (2026-06-24 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
* current time: 2026-09-16 17:18:02 UTC
* checking for file 'trps/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'trps' version '0.1.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 'trps' 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 ... [4s] OK
* checking whether the package can be loaded with stated dependencies ... [3s] OK
* checking whether the package can be unloaded cleanly ... [4s] OK
* checking whether the namespace can be loaded with stated dependencies ... [4s] OK
* checking whether the namespace can be unloaded cleanly ... [4s] OK
* checking loading without being on the library search path ... [4s] OK
* checking whether startup messages can be suppressed ... [4s] 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 ... [9s] 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 ... [0s] 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 ... [8s] OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ... [13s] OK
  Running 'testthat.R' [13s]
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking re-building of vignette outputs ... [67s] ERROR
Error(s) in re-building vignettes:
--- re-building 'trps.Rmd' using rmarkdown
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="file4f544413d480e.dll" WIN=64 TCLBIN= OBJECTS="file4f544413d480e.o"

make would use
make[1]: Entering directory '/d/temp/2026_09_15_23_01_57_27218/RtmpMVrTAO'
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/RtmpM7TuDz/RLIBS_511b47e056935/RcppEigen/include/"  -I"D:/temp/2026_09_15_23_01_57_27218/RtmpM7TuDz/RLIBS_511b47e056935/RcppEigen/include/unsupported"  -I"D:/temp/2026_09_15_23_01_57_27218/RtmpM7TuDz/RLIBS_511b47e056935/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 file4f544413d480e.cpp -o file4f544413d480e.o
if test "zfile4f544413d480e.o" != "z"; then \
  if test -e "file4f544413d480e-win.def"; then \
    echo g++   -shared  -s -static-libgcc -o file4f544413d480e.dll file4f544413d480e-win.def file4f544413d480e.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 file4f544413d480e.dll file4f544413d480e-win.def file4f544413d480e.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 file4f544413d480e.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 file4f544413d480e.dll tmp.def file4f544413d480e.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 file4f544413d480e.dll tmp.def file4f544413d480e.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/RtmpMVrTAO'

Quitting from trps.Rmd:214-228 [unnamed-chunk-9]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `sink()`:
! invalid connection
---
Backtrace:
     ▆
  1. └─brms::brm(...)
  2.   └─brms::do_call(compile_model, compile_args)
  3.     └─brms:::eval2(call, envir = args, enclos = envir)
  4.       └─base::eval(expr, envir, ...)
  5.         └─base::eval(expr, envir, ...)
  6.           └─brms (local) .fun(...)
  7.             └─brms (local) .compile_model(model, ...)
  8.               ├─brms:::eval_silent(...)
  9.               │ └─base::eval(expr, envir)
 10.               │   └─base::eval(expr, envir)
 11.               └─brms::do_call(rstan::stan_model, args)
 12.                 └─brms:::eval2(call, envir = args, enclos = envir)
 13.                   └─base::eval(expr, envir, ...)
 14.                     └─base::eval(expr, envir, ...)
 15.                       └─rstan (local) .fun(model_code = .x1)
 16.                         └─rstan:::cxxfunctionplus(...)
 17.                           └─base::sink(type = "output")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'trps.Rmd' failed with diagnostics:
invalid connection
--- failed re-building 'trps.Rmd'

SUMMARY: processing the following file failed:
  'trps.Rmd'

Error: Vignette re-building failed.
Execution halted

* checking PDF version of manual ... [20s] OK
* checking HTML version of manual ... [7s] OK
* DONE
Status: 1 ERROR
