* installing *source* package ‘sglOptim’ ... ** package ‘sglOptim’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘clang version 17.0.5’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/sglOptim/src' /usr/local/clang17/bin/clang++ -std=gnu++17 -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/RcppProgress/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -I'../inst/include' -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c only_for_testing.cpp -o only_for_testing.o In file included from only_for_testing.cpp:44: In file included from ../inst/include/sgl.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppProgress/include/progress.hpp:12: In file included from /data/gannet/ripley/R/test-clang/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /data/gannet/ripley/R/test-clang/RcppProgress/include/interrupts.hpp:21: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: 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 only_for_testing.cpp:44: In file included from ../inst/include/sgl.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppProgress/include/progress.hpp:12: In file included from /data/gannet/ripley/R/test-clang/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /data/gannet/ripley/R/test-clang/RcppProgress/include/interrupts.hpp:21: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: 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", In file included from only_for_testing.cpp:44: ../inst/include/sgl.h:48:9: warning: 'NDEBUG' macro redefined [-Wmacro-redefined] 48 | #define NDEBUG | ^ <command line>:1:9: note: previous definition is here 1 | #define NDEBUG 1 | ^ In file included from only_for_testing.cpp:44: In file included from ../inst/include/sgl.h:84: ../inst/include/rtools.h:29:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 29 | Rf_error(msg); | ^~~ ../inst/include/rtools.h:29:14: note: treat the string as an argument to avoid this 29 | Rf_error(msg); | ^ | "%s", ../inst/include/rtools.h:33:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 33 | Rf_warning(msg); | ^~~ ../inst/include/rtools.h:33:16: note: treat the string as an argument to avoid this 33 | Rf_warning(msg); | ^ | "%s", 6 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang17/lib -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o sglOptim.so only_for_testing.o -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/sglOptim/src' make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/sglOptim/src' make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/sglOptim/src' installing to /data/gannet/ripley/R/packages/tests-clang/sglOptim.Rcheck/00LOCK-sglOptim/00new/sglOptim/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 (sglOptim)