* installing *source* package ‘catlearn’ ... ** package ‘catlearn’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘clang version 17.0.5’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/catlearn/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/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RcppExports.cpp -o RcppExports.o /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/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c slpBM.cpp -o slpBM.o In file included from RcppExports.cpp:4: 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 /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", /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/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c slpDGCM.cpp -o slpDGCM.o In file included from slpBM.cpp:1: 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 slpBM.cpp:1: 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 slpDGCM.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 slpDGCM.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", /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/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c slpEXIT.cpp -o slpEXIT.o In file included from slpEXIT.cpp:6: 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 slpEXIT.cpp:6: 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", 3 warnings generated. 3 warnings generated. slpDGCM.cpp:136:9: warning: unused variable 'n' [-Wunused-variable] 136 | uword n = exemplars.n_cols; | ^ /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/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c slpLMSnet.cpp -o slpLMSnet.o /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/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c slpMack75.cpp -o slpMack75.o In file included from slpLMSnet.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 slpLMSnet.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", In file included from slpMack75.cpp:1: 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 slpMack75.cpp:1: 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", 3 warnings generated. /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/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c slpNNCAG.cpp -o slpNNCAG.o 4 warnings generated. /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/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c slpNNRAS.cpp -o slpNNRAS.o In file included from slpNNCAG.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 slpNNCAG.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", In file included from slpNNRAS.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 slpNNRAS.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", /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/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c slpRW.cpp -o slpRW.o /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/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c slpalcove.cpp -o slpalcove.o 3 warnings generated. In file included from slpRW.cpp:1: 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 slpalcove.cpp:4: 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 slpRW.cpp:1: 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 slpalcove.cpp:4: 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", 3 warnings generated. 3 warnings generated. /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/RcppArmadillo/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c slpcovis.cpp -o slpcovis.o 3 warnings generated. 3 warnings generated. In file included from slpcovis.cpp:7: 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 slpcovis.cpp:7: 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", 3 warnings generated. 3 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 catlearn.so RcppExports.o slpBM.o slpDGCM.o slpEXIT.o slpLMSnet.o slpMack75.o slpNNCAG.o slpNNRAS.o slpRW.o slpalcove.o slpcovis.o make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/catlearn/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/catlearn/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/catlearn/src' installing to /data/gannet/ripley/R/packages/tests-clang/catlearn.Rcheck/00LOCK-catlearn/00new/catlearn/libs ** R ** data *** moving datasets to lazyload DB ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** 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 (catlearn)