* installing *source* package ‘COAP’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 17.0.6 (11)’ clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:30: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 26 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c coap_R1.cpp -o coap_R1.o In file included from coap_R1.cpp:8: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:30: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 26 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ coap_R1.cpp:13:9: warning: 'INT_MIN' macro redefined [-Wmacro-redefined] 13 | #define INT_MIN (-INT_MAX - 1) | ^ /usr/lib/llvm-17/lib/clang/17/include/limits.h:51:9: note: previous definition is here 51 | #define INT_MIN (-__INT_MAX__ -1) | ^ coap_R1.cpp:52:7: warning: unused variable 'i' [-Wunused-variable] 52 | int i, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols; | ^ coap_R1.cpp:53:34: warning: unused variable 'logS' [-Wunused-variable] 53 | double pois_term1, pois_term2, logS, entropy=0.0, ELBO=0.0; | ^~~~ coap_R1.cpp:74:7: warning: unused variable 'n' [-Wunused-variable] 74 | int n = Y.n_rows, d = Z.n_cols; | ^ coap_R1.cpp:104:7: warning: unused variable 'n' [-Wunused-variable] 104 | int n = Y.n_rows, d = Z.n_cols; | ^ coap_R1.cpp:140:7: warning: unused variable 'i' [-Wunused-variable] 140 | int i, j, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols; | ^ coap_R1.cpp:140:10: warning: unused variable 'j' [-Wunused-variable] 140 | int i, j, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols; | ^ coap_R1.cpp:140:53: warning: unused variable 'q' [-Wunused-variable] 140 | int i, j, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols; | ^ coap_R1.cpp:190:7: warning: unused variable 'i' [-Wunused-variable] 190 | int i, n = X_count.n_rows, p = X_count.n_cols, q= B_int.n_cols; | ^ coap_R1.cpp:190:30: warning: unused variable 'p' [-Wunused-variable] 190 | int i, n = X_count.n_rows, p = X_count.n_cols, q= B_int.n_cols; | ^ 11 warnings generated. clang++-17 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-17/lib -Wl,-O1 -o COAP.so RcppExports.o coap_R1.o -llapack -L/home/hornik/tmp/R-d-clang-17/lib -lRblas -L/usr/lib/llvm-17/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R-d-clang-17/lib -lR installing to /srv/hornik/tmp/CRAN/COAP.Rcheck/00LOCK-COAP/00new/COAP/libs ** 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 (COAP)