* installing *source* package ‘spamtree’ ...
** package ‘spamtree’ 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 C++11
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c covariance_functions.cpp -o covariance_functions.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c find_nan.cpp -o find_nan.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c list_mean.cpp -o list_mean.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c mh_adapt.cpp -o mh_adapt.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c spamtree_fit.cpp -o spamtree_fit.o
spamtree_fit.cpp:228:16: warning: variable 'prior_logratio' set but not used [-Wunused-but-set-variable]
        double prior_logratio = 0;
               ^
spamtree_fit.cpp:202:12: warning: unused variable 'accepted' [-Wunused-variable]
      bool accepted = true;
           ^
spamtree_fit.cpp:419:12: warning: unused variable 'mcmc_time' [-Wunused-variable]
    double mcmc_time = std::chrono::duration_cast<std::chrono::milliseconds>(end_all - start_all).count();
           ^
spamtree_fit.cpp:76:7: warning: unused variable 'n' [-Wunused-variable]
  int n = coords.n_rows;
      ^
spamtree_fit.cpp:82:10: warning: unused variable 'dlim' [-Wunused-variable]
  double dlim=0;
         ^
spamtree_fit.cpp:130:7: warning: unused variable 'n_res' [-Wunused-variable]
  int n_res = grps.n_elem;
      ^
spamtree_fit.cpp:165:26: warning: unused variable 'num_chol_fails' [-Wunused-variable]
  int m=0; int mx=0; int num_chol_fails=0;
                         ^
7 warnings generated.
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c spamtree_model.cpp -o spamtree_model.o
In file included from spamtree_model.cpp:2:
In file included from ./spamtree_model.h:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/armadillo:26:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/armadillo_bits/config.hpp:338:11: warning: INFO: support for ARMA_DONT_PRINT_ERRORS option has been removed [-W#pragma-messages]
  #pragma message ("INFO: support for ARMA_DONT_PRINT_ERRORS option has been removed")
          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/armadillo_bits/config.hpp:343:13: warning: INFO: suggest to use ARMA_WARN_LEVEL option instead [-W#pragma-messages]
    #pragma message ("INFO: suggest to use ARMA_WARN_LEVEL option instead")
            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/armadillo_bits/config.hpp:346:11: warning: INFO: see the documentation for details [-W#pragma-messages]
  #pragma message ("INFO: see the documentation for details")
          ^
spamtree_model.cpp:259:9: warning: unused variable 'res_num_blocks' [-Wunused-variable]
    int res_num_blocks = u_by_block_groups(g).n_elem;
        ^
spamtree_model.cpp:547:13: warning: unused variable 'n_loc_par' [-Wunused-variable]
        int n_loc_par = parents_indexing(block_k).n_elem; //0;
            ^
5 warnings generated.
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c tree_dep.cpp -o tree_dep.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c tree_utils.cpp -o tree_utils.o
tree_utils.cpp:74:7: warning: unused variable 'n_blocks' [-Wunused-variable]
  int n_blocks = unique_coords.n_elem;
      ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o spamtree.so RcppExports.o covariance_functions.o find_nan.o list_mean.o mh_adapt.o spamtree_fit.o spamtree_model.o tree_dep.o tree_utils.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.3/spamtree.Rcheck/00LOCK-spamtree/00new/spamtree/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (spamtree)