* 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: ‘clang version 21.1.1’ using C++ compiler: ‘clang version 21.1.1’ using C++11 make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/BNPmix/src' /usr/local/clang21/bin/clang -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c BNPmix_init.c -o BNPmix_init.o /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c CommonUtilities.cpp -o CommonUtilities.o In file included from CommonUtilities.cpp:19: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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.") | ^ /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c DdpFunctions.cpp -o DdpFunctions.o In file included from DdpFunctions.cpp:19: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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. 1 warning generated. /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c Distributions.cpp -o Distributions.o In file included from Distributions.cpp:19: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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. /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c IcsFunctions.cpp -o IcsFunctions.o In file included from IcsFunctions.cpp:19: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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. /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c MAR.cpp -o MAR.o In file included from MAR.cpp:19: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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.") | ^ /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c MarFunctions.cpp -o MarFunctions.o In file included from MarFunctions.cpp:19: In file included from /data/gannet/ripley/R/test-clang/RcppDist/include/RcppDist.h:26: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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; | ^~ 1 warning generated. /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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.") | ^ /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c SliFunctions.cpp -o SliFunctions.o In file included from SliFunctions.cpp:19: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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.") | ^ /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c cDDP.cpp -o cDDP.o In file included from cDDP.cpp:19: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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.") | ^ /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c cICS.cpp -o cICS.o In file included from cICS.cpp:19: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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.") | ^ /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c cSLI.cpp -o cSLI.o In file included from cSLI.cpp:19: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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.") | ^ /usr/local/clang21/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppDist/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c est_partition.cpp -o est_partition.o In file included from est_partition.cpp:19: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: /data/gannet/ripley/R/test-clang/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; | ^~~~~ 1 warning generated. 8 warnings generated. 2 warnings generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. /usr/local/clang21/bin/clang++ -std=gnu++11 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/21/lib/x86_64-unknown-linux-gnu -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 -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lflang_rt.runtime -lm make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/BNPmix/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/BNPmix/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/BNPmix/src' installing to /data/gannet/ripley/R/packages/tests-clang/BNPmix.Rcheck/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)