* installing *source* package ‘BNPmix’ ...
** package ‘BNPmix’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 13.0.0 (clang-1300.0.29.30)’
using C++ compiler: ‘Apple clang version 13.0.0 (clang-1300.0.29.30)’
using C++11
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c BNPmix_init.c -o BNPmix_init.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c CommonUtilities.cpp -o CommonUtilities.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c DdpFunctions.cpp -o DdpFunctions.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Distributions.cpp -o Distributions.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c IcsFunctions.cpp -o IcsFunctions.o
IcsFunctions.cpp:404:65: warning: unused variable 'mu_m' [-Wunused-variable]
  double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
                                                                ^
IcsFunctions.cpp:940:10: warning: unused variable 'd' [-Wunused-variable]
  double d = (double) data.n_cols;
         ^
IcsFunctions.cpp:1277:10: warning: unused variable 'd' [-Wunused-variable]
  double d = (double) data.n_cols;
         ^
IcsFunctions.cpp:2009:9: warning: unused variable 'nj' [-Wunused-variable]
    int nj = sum(clust == j);
        ^
IcsFunctions.cpp:2091:10: warning: unused variable 'tsigma2' [-Wunused-variable]
  double tsigma2;
         ^
5 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c MAR.cpp -o MAR.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c MarFunctions.cpp -o MarFunctions.o
MarFunctions.cpp:951:7: warning: unused variable 'old_max' [-Wunused-variable]
  int old_max = max(clust);
      ^
MarFunctions.cpp:1585:9: warning: unused variable 'nj' [-Wunused-variable]
    int nj = sum(clust == j);
        ^
MarFunctions.cpp:1668:10: warning: unused variable 'tsigma2' [-Wunused-variable]
  double tsigma2;
         ^
MarFunctions.cpp:1732:10: warning: unused variable 'an' [-Wunused-variable]
  double an, bn, prob_temp;
         ^
MarFunctions.cpp:1732:14: warning: unused variable 'bn' [-Wunused-variable]
  double an, bn, prob_temp;
             ^
5 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SliFunctions.cpp -o SliFunctions.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c cDDP.cpp -o cDDP.o
cDDP.cpp:138:10: warning: unused variable 'temp2' [-Wunused-variable]
  double temp2;
         ^
1 warning generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c cICS.cpp -o cICS.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c cSLI.cpp -o cSLI.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppDist/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c est_partition.cpp -o est_partition.o
clang++ -arch arm64 -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/arm64/lib -o BNPmix.so BNPmix_init.o CommonUtilities.o DdpFunctions.o Distributions.o IcsFunctions.o MAR.o MarFunctions.o RcppExports.o SliFunctions.o cDDP.o cICS.o cSLI.o est_partition.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/BNPmix.Rcheck/00LOCK-BNPmix/00new/BNPmix/libs
** generating debug symbols (dSYM)
** R
** data
** 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 (BNPmix)