* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘BNPmix’ ...
** package ‘BNPmix’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 18.1.4 (1)’
using C++ compiler: ‘Debian clang version 18.1.4 (1)’
using C++11
make[1]: Entering directory '/tmp/RtmpuMmMVf/R.INSTALL10d3fe79d6110d/BNPmix/src'
clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c BNPmix_init.c -o BNPmix_init.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c CommonUtilities.cpp -o CommonUtilities.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c DdpFunctions.cpp -o DdpFunctions.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c Distributions.cpp -o Distributions.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c IcsFunctions.cpp -o IcsFunctions.o
IcsFunctions.cpp:404:65: warning: unused variable 'mu_m' [-Wunused-variable]
  404 |   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]
  940 |   double d = (double) data.n_cols;
      |          ^
IcsFunctions.cpp:1277:10: warning: unused variable 'd' [-Wunused-variable]
 1277 |   double d = (double) data.n_cols;
      |          ^
IcsFunctions.cpp:1395:65: warning: variable 'mu_m' set but not used [-Wunused-but-set-variable]
 1395 |   double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
      |                                                                 ^
IcsFunctions.cpp:2009:9: warning: unused variable 'nj' [-Wunused-variable]
 2009 |     int nj = sum(clust == j);
      |         ^~
IcsFunctions.cpp:2091:10: warning: unused variable 'tsigma2' [-Wunused-variable]
 2091 |   double tsigma2;
      |          ^~~~~~~
6 warnings generated.
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c MAR.cpp -o MAR.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c MarFunctions.cpp -o MarFunctions.o
MarFunctions.cpp:340:65: warning: variable 'mu_m' set but not used [-Wunused-but-set-variable]
  340 |   double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
      |                                                                 ^
MarFunctions.cpp:951:7: warning: unused variable 'old_max' [-Wunused-variable]
  951 |   int old_max = max(clust);
      |       ^~~~~~~
MarFunctions.cpp:1101:65: warning: variable 'mu_m' set but not used [-Wunused-but-set-variable]
 1101 |   double m_temp, s2_temp, tau1_temp, tau2_temp, a_temp, b_temp, mu_m;
      |                                                                 ^
MarFunctions.cpp:1585:9: warning: unused variable 'nj' [-Wunused-variable]
 1585 |     int nj = sum(clust == j);
      |         ^~
MarFunctions.cpp:1668:10: warning: unused variable 'tsigma2' [-Wunused-variable]
 1668 |   double tsigma2;
      |          ^~~~~~~
MarFunctions.cpp:1732:10: warning: unused variable 'an' [-Wunused-variable]
 1732 |   double an, bn, prob_temp;
      |          ^~
MarFunctions.cpp:1732:14: warning: unused variable 'bn' [-Wunused-variable]
 1732 |   double an, bn, prob_temp;
      |              ^~
7 warnings generated.
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c RcppExports.cpp -o RcppExports.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c SliFunctions.cpp -o SliFunctions.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c cDDP.cpp -o cDDP.o
cDDP.cpp:138:10: warning: unused variable 'temp2' [-Wunused-variable]
  138 |   double temp2;
      |          ^~~~~
1 warning generated.
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c cICS.cpp -o cICS.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c cSLI.cpp -o cSLI.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c est_partition.cpp -o est_partition.o
clang++-18 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -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 -llapack -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lRblas -L/usr/lib/llvm-18/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpuMmMVf/R.INSTALL10d3fe79d6110d/BNPmix/src'
make[1]: Entering directory '/tmp/RtmpuMmMVf/R.INSTALL10d3fe79d6110d/BNPmix/src'
make[1]: Leaving directory '/tmp/RtmpuMmMVf/R.INSTALL10d3fe79d6110d/BNPmix/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-BNPmix/00new/BNPmix/libs
** 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
* creating tarball
packaged installation of ‘BNPmix’ as ‘BNPmix_1.0.2_R_x86_64-pc-linux-gnu.tar.gz’
* DONE (BNPmix)