* installing *source* package ‘BayesTree’ ...
** package ‘BayesTree’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c BirthDeath.cpp -o BirthDeath.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c ChangeRule.cpp -o ChangeRule.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Funs.cpp -o Funs.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Lib.cpp -o Lib.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Likelihood.cpp -o Likelihood.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c List.cpp -o List.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c MuS.cpp -o MuS.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Node.cpp -o Node.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Prior.cpp -o Prior.o
Lib.cpp:89:11: warning: unused variable 'nu' [-Wunused-variable]
   vec_sz nu = 1;
          ^
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Rlob.cpp -o Rlob.o
Lib.cpp:114:32: warning: unused typedef 'ST' [-Wunused-local-typedef]
        typedef Vec::size_type ST;
                               ^
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c Swap.cpp -o Swap.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c mbart.cpp -o mbart.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])) {
                                   ^~
                                   =
2 warnings generated.
1 warning generated.
mbart.cpp:300:11: warning: variable 'alpha' set but not used [-Wunused-but-set-variable]
   double alpha=0.0;
          ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/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-x86_64/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)