* installing *source* package ‘bage’ ...
** this is package ‘bage’ version ‘0.9.8’
** package ‘bage’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DTMBAD_FRAMEWORK -DTMB_EIGEN_DISABLE_WARNINGS -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/TMB/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/RcppEigen/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c bage.cpp -o bage.o
In file included from bage.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/TMB/include/TMB.hpp:137:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/TMB/include/TMBad/TMBad.cpp:3060:52: warning: all paths through this function will call itself [-Winfinite-recursion]
ad_adapt F(const ad_adapt &x1, const ad_adapt &x2) {
                                                   ^
1 warning generated.
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 bage.so bage.o -F/Library/Frameworks/R.framework/.. -framework R
"/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "cat(as.character(packageVersion('TMB')), '\n', sep=\"\", file='../inst/TMB-version')"
"/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "cat(as.character(packageVersion('Matrix')), '\n', sep=\"\", file='../inst/Matrix-version')"
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.5/bage.Rcheck/00LOCK-bage/00new/bage/libs
** generating debug symbols (dSYM)
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (bage)