- using R version 4.6.0 RC (2026-04-22 r89950)
- using platform: aarch64-apple-darwin23
- R was compiled by
Apple clang version 17.0.0 (clang-1700.3.19.1)
GNU Fortran (GCC) 14.2.0
- running under: macOS Sequoia 15.7.1
- using session charset: UTF-8
* current time: 2026-04-23 05:36:11 UTC
- checking for file ‘hmetad/DESCRIPTION’ ... OK
- this is package ‘hmetad’ version ‘0.1.1’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘hmetad’ can be installed ... [6s/6s] OK
See the install log for details.
- 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [3s/3s] OK
- checking Rd files ... [0s/0s] 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 ... [2s/2s] 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 ... [7s/7s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3s/3s] OK
Running ‘testthat.R’ [3s/3s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [24s/25s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘alternative_distributions.Rmd’ using rmarkdown
specified C++17
make cmd is
make -f '/Library/Frameworks/R.framework/Resources/etc/Makeconf' -f '/Library/Frameworks/R.framework/Resources/share/make/shlib.mk' CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB='fileb0da79e6f8a.so' OBJECTS='fileb0da79e6f8a.o'
make would use
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppEigen/include/" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppEigen/include/unsupported" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/StanHeaders/include/src/" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/StanHeaders/include/" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/include/" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/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 '/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp' -D_REENTRANT -DRCPP_PARALLEL_USE_TBB=1 -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c fileb0da79e6f8a.cpp -o fileb0da79e6f8a.o
if test "zfileb0da79e6f8a.o" != "z"; then \
echo clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L"/Library/Frameworks/R.framework/Resources/lib" -L/opt/R/arm64/lib -o fileb0da79e6f8a.so fileb0da79e6f8a.o '/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/rstan/lib//libStanServices.a' -L'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/StanHeaders/lib/' -lStanHeaders -L'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/lib/' -ltbb -L/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/lib -ltbb -ltbbmalloc -F/Library/Frameworks/R.framework/.. -framework R ; \
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L"/Library/Frameworks/R.framework/Resources/lib" -L/opt/R/arm64/lib -o fileb0da79e6f8a.so fileb0da79e6f8a.o '/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/rstan/lib//libStanServices.a' -L'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/StanHeaders/lib/' -lStanHeaders -L'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/lib/' -ltbb -L/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/lib -ltbb -ltbbmalloc -F/Library/Frameworks/R.framework/.. -framework R ; \
fi
Quitting from alternative_distributions.Rmd:90-104 [model]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `sink()`:
! invalid connection
---
Backtrace:
▆
1. └─hmetad::fit_metad(...)
2. └─brms::brm(formula, data.aggregated, stanvars = sv, ...)
3. └─brms::do_call(compile_model, compile_args)
4. └─brms:::eval2(call, envir = args, enclos = envir)
5. └─base::eval(expr, envir, ...)
6. └─base::eval(expr, envir, ...)
7. └─brms (local) .fun(...)
8. └─brms (local) .compile_model(model, ...)
9. ├─brms:::eval_silent(...)
10. │ └─base::eval(expr, envir)
11. │ └─base::eval(expr, envir)
12. └─brms::do_call(rstan::stan_model, args)
13. └─brms:::eval2(call, envir = args, enclos = envir)
14. └─base::eval(expr, envir, ...)
15. └─base::eval(expr, envir, ...)
16. └─rstan (local) .fun(model_code = .x1)
17. └─rstan:::cxxfunctionplus(...)
18. └─base::sink(type = "output")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'alternative_distributions.Rmd' failed with diagnostics:
invalid connection
--- failed re-building ‘alternative_distributions.Rmd’
--- re-building ‘categorical.Rmd’ using rmarkdown
--- finished re-building ‘categorical.Rmd’
--- re-building ‘history.Rmd’ using rmarkdown
--- finished re-building ‘history.Rmd’
--- re-building ‘hmetad.Rmd’ using rmarkdown
specified C++17
make cmd is
make -f '/Library/Frameworks/R.framework/Resources/etc/Makeconf' -f '/Library/Frameworks/R.framework/Resources/share/make/shlib.mk' CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB='filee2c3224993c.so' OBJECTS='filee2c3224993c.o'
make would use
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppEigen/include/" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppEigen/include/unsupported" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/StanHeaders/include/src/" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/StanHeaders/include/" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/include/" -I"/Volumes/Builds/packages/sonoma-arm64/Rlib/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 '/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp' -D_REENTRANT -DRCPP_PARALLEL_USE_TBB=1 -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c filee2c3224993c.cpp -o filee2c3224993c.o
if test "zfilee2c3224993c.o" != "z"; then \
echo clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L"/Library/Frameworks/R.framework/Resources/lib" -L/opt/R/arm64/lib -o filee2c3224993c.so filee2c3224993c.o '/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/rstan/lib//libStanServices.a' -L'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/StanHeaders/lib/' -lStanHeaders -L'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/lib/' -ltbb -L/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/lib -ltbb -ltbbmalloc -F/Library/Frameworks/R.framework/.. -framework R ; \
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L"/Library/Frameworks/R.framework/Resources/lib" -L/opt/R/arm64/lib -o filee2c3224993c.so filee2c3224993c.o '/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/rstan/lib//libStanServices.a' -L'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/StanHeaders/lib/' -lStanHeaders -L'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/lib/' -ltbb -L/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/lib -ltbb -ltbbmalloc -F/Library/Frameworks/R.framework/.. -framework R ; \
fi
Quitting from hmetad.Rmd:127-138 [model_fitting]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `sink()`:
! invalid connection
---
Backtrace:
▆
1. └─hmetad::fit_metad(...)
2. └─brms::brm(formula, data.aggregated, stanvars = sv, ...)
3. └─brms::do_call(compile_model, compile_args)
4. └─brms:::eval2(call, envir = args, enclos = envir)
5. └─base::eval(expr, envir, ...)
6. └─base::eval(expr, envir, ...)
7. └─brms (local) .fun(...)
8. └─brms (local) .compile_model(model, ...)
9. ├─brms:::eval_silent(...)
10. │ └─base::eval(expr, envir)
11. │ └─base::eval(expr, envir)
12. └─brms::do_call(rstan::stan_model, args)
13. └─brms:::eval2(call, envir = args, enclos = envir)
14. └─base::eval(expr, envir, ...)
15. └─base::eval(expr, envir, ...)
16. └─rstan (local) .fun(model_code = .x1)
17. └─rstan:::cxxfunctionplus(...)
18. └─base::sink(type = "output")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'hmetad.Rmd' failed with diagnostics:
invalid connection
--- failed re-building ‘hmetad.Rmd’
--- re-building ‘parameterization.Rmd’ using rmarkdown
--- finished re-building ‘parameterization.Rmd’
SUMMARY: processing the following files failed:
‘alternative_distributions.Rmd’ ‘hmetad.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '