* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’ * installing *source* package ‘BNPmix’ ... ** this is package ‘BNPmix’ version ‘1.0.2’ ** package ‘BNPmix’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘Debian clang version 19.1.7 (3+b2)’ using C++ compiler: ‘Debian clang version 19.1.7 (3+b2)’ using C++11 make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpTz6qNS/R.INSTALL37b3aa34e0e6bf/BNPmix/src' clang-19 -std=gnu23 -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++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c CommonUtilities.cpp -o CommonUtilities.o In file included from CommonUtilities.cpp:19: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ 1 warning generated. clang++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c DdpFunctions.cpp -o DdpFunctions.o In file included from DdpFunctions.cpp:19: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ 1 warning generated. clang++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Distributions.cpp -o Distributions.o In file included from Distributions.cpp:19: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ 1 warning generated. clang++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c IcsFunctions.cpp -o IcsFunctions.o In file included from IcsFunctions.cpp:19: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ 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; | ^~~~~~~ 7 warnings generated. clang++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c MAR.cpp -o MAR.o In file included from MAR.cpp:19: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ 1 warning generated. clang++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c MarFunctions.cpp -o MarFunctions.o In file included from MarFunctions.cpp:19: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppDist/include/RcppDist.h:26: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ 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; | ^~ 8 warnings generated. clang++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ 1 warning generated. clang++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c SliFunctions.cpp -o SliFunctions.o In file included from SliFunctions.cpp:19: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ 1 warning generated. clang++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c cDDP.cpp -o cDDP.o In file included from cDDP.cpp:19: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ cDDP.cpp:138:10: warning: unused variable 'temp2' [-Wunused-variable] 138 | double temp2; | ^~~~~ 2 warnings generated. clang++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c cICS.cpp -o cICS.o In file included from cICS.cpp:19: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ 1 warning generated. clang++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c cSLI.cpp -o cSLI.o In file included from cSLI.cpp:19: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ 1 warning generated. clang++-19 -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 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c est_partition.cpp -o est_partition.o In file included from est_partition.cpp:19: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more. [-W#pragma-messages] 66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.") | ^ 1 warning generated. clang++-19 -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 -fopenmp -llapack -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lRblas -L/usr/lib/llvm-19/lib -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpTz6qNS/R.INSTALL37b3aa34e0e6bf/BNPmix/src' make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpTz6qNS/R.INSTALL37b3aa34e0e6bf/BNPmix/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpTz6qNS/R.INSTALL37b3aa34e0e6bf/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 * DONE (BNPmix)