* installing *source* package ‘BayesTree’ ...
** package ‘BayesTree’ 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   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c BirthDeath.cpp -o BirthDeath.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c ChangeRule.cpp -o ChangeRule.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Funs.cpp -o Funs.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Lib.cpp -o Lib.o
Lib.cpp:89:11: warning: unused variable 'nu' [-Wunused-variable]
   vec_sz nu = 1;
          ^
Lib.cpp:114:32: warning: unused typedef 'ST' [-Wunused-local-typedef]
        typedef Vec::size_type ST;
                               ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Likelihood.cpp -o Likelihood.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c List.cpp -o List.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c MuS.cpp -o MuS.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Node.cpp -o Node.o
Node.cpp:91:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                        if((x[Var] == RuleMat[Var][i])) {
                            ~~~~~~~^~~~~~~~~~~~~~~~~~
Node.cpp:91:15: note: remove extraneous parentheses around the comparison to silence this warning
                        if((x[Var] == RuleMat[Var][i])) {
                           ~       ^                 ~
Node.cpp:91:15: note: use '=' to turn this equality comparison into an assignment
                        if((x[Var] == RuleMat[Var][i])) {
                                   ^~
                                   =
1 warning generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Prior.cpp -o Prior.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Rlob.cpp -o Rlob.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Swap.cpp -o Swap.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c mbart.cpp -o mbart.o
mbart.cpp:300:11: warning: variable 'alpha' set but not used [-Wunused-but-set-variable]
   double alpha=0.0;
          ^
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 BayesTree.so BirthDeath.o ChangeRule.o Funs.o Lib.o Likelihood.o List.o MuS.o Node.o Prior.o Rlob.o Swap.o mbart.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/BayesTree.Rcheck/00LOCK-BayesTree/00new/BayesTree/libs
** generating debug symbols (dSYM)
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (BayesTree)