* installing *source* package ‘Compack’ ... ** package ‘Compack’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘clang version 17.0.5’ using C++11 make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/Compack/src' /usr/local/clang17/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from ./../inst/include/Compack.h:7: In file included from ./../inst/include/Compack_RcppExports.h:7: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from RcppExports.cpp:4: In file included from ./../inst/include/Compack.h:7: In file included from ./../inst/include/Compack_RcppExports.h:7: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", RcppExports.cpp:59:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 59 | Rf_error(CHAR(rcpp_msgSEXP_gen)); | ^~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/R-clang/include/Rinternals.h:198:17: note: expanded from macro 'CHAR' 198 | #define CHAR(x) R_CHAR(x) | ^~~~~~~~~ RcppExports.cpp:59:18: note: treat the string as an argument to avoid this 59 | Rf_error(CHAR(rcpp_msgSEXP_gen)); | ^ | "%s", /data/gannet/ripley/R/R-clang/include/Rinternals.h:198:17: note: expanded from macro 'CHAR' 198 | #define CHAR(x) R_CHAR(x) | ^ RcppExports.cpp:110:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 110 | Rf_error(CHAR(rcpp_msgSEXP_gen)); | ^~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/R-clang/include/Rinternals.h:198:17: note: expanded from macro 'CHAR' 198 | #define CHAR(x) R_CHAR(x) | ^~~~~~~~~ RcppExports.cpp:110:18: note: treat the string as an argument to avoid this 110 | Rf_error(CHAR(rcpp_msgSEXP_gen)); | ^ | "%s", /data/gannet/ripley/R/R-clang/include/Rinternals.h:198:17: note: expanded from macro 'CHAR' 198 | #define CHAR(x) R_CHAR(x) | ^ RcppExports.cpp:159:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 159 | Rf_error(CHAR(rcpp_msgSEXP_gen)); | ^~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/R-clang/include/Rinternals.h:198:17: note: expanded from macro 'CHAR' 198 | #define CHAR(x) R_CHAR(x) | ^~~~~~~~~ RcppExports.cpp:159:18: note: treat the string as an argument to avoid this 159 | Rf_error(CHAR(rcpp_msgSEXP_gen)); | ^ | "%s", /data/gannet/ripley/R/R-clang/include/Rinternals.h:198:17: note: expanded from macro 'CHAR' 198 | #define CHAR(x) R_CHAR(x) | ^ 6 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c constraints.cpp -o constraints.o In file included from constraints.cpp:2: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from constraints.cpp:2: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 3 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++11 -shared -L/usr/local/clang/lib64 -L/usr/local/clang17/lib -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o Compack.so RcppExports.o constraints.o -fopenmp -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lFortran_main -lFortranRuntime -lFortranDecimal -lm make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/Compack/src' make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/Compack/src' make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/Compack/src' installing to /data/gannet/ripley/R/packages/tests-clang/Compack.Rcheck/00LOCK-Compack/00new/Compack/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 (Compack)