* installing *source* package ‘landscapemetrics’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 17.0.5 (1)’ clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_cclabel.cpp -o rcpp_cclabel.o In file included from rcpp_cclabel.cpp:1: In file included from ./rcpp_cclabel.h:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_cclabel.cpp:1: In file included from ./rcpp_cclabel.h:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_create_neighborhood.cpp -o rcpp_create_neighborhood.o In file included from rcpp_create_neighborhood.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_create_neighborhood.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_get_boundaries.cpp -o rcpp_get_boundaries.o In file included from rcpp_get_boundaries.cpp:1: In file included from ./rcpp_get_boundaries.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_get_boundaries.cpp:1: In file included from ./rcpp_get_boundaries.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_get_circle.cpp -o rcpp_get_circle.o In file included from rcpp_get_circle.cpp:1: In file included from ./rcpp_get_circle.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_get_circle.cpp:1: In file included from ./rcpp_get_circle.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_get_class_index_map.cpp -o rcpp_get_class_index_map.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_get_composition_vector.cpp -o rcpp_get_composition_vector.o In file included from rcpp_get_composition_vector.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_get_composition_vector.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_get_coocurrence_matrix.cpp -o rcpp_get_coocurrence_matrix.o In file included from rcpp_get_coocurrence_matrix.cpp:1: In file included from ./rcpp_get_coocurrence_matrix.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_get_coocurrence_matrix.cpp:1: In file included from ./rcpp_get_coocurrence_matrix.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_get_coocurrence_matrix_diag.cpp -o rcpp_get_coocurrence_matrix_diag.o In file included from rcpp_get_coocurrence_matrix_diag.cpp:3: In file included from ./rcpp_get_coocurrence_matrix_diag.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_get_coocurrence_matrix_diag.cpp:3: In file included from ./rcpp_get_coocurrence_matrix_diag.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_get_coocurrence_matrix_single.cpp -o rcpp_get_coocurrence_matrix_single.o In file included from rcpp_get_coocurrence_matrix_single.cpp:1: In file included from ./rcpp_get_coocurrence_matrix_single.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_get_coocurrence_matrix_single.cpp:1: In file included from ./rcpp_get_coocurrence_matrix_single.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_get_coocurrence_vector.cpp -o rcpp_get_coocurrence_vector.o In file included from rcpp_get_coocurrence_vector.cpp:1: In file included from ./rcpp_get_coocurrence_matrix.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_get_coocurrence_vector.cpp:1: In file included from ./rcpp_get_coocurrence_matrix.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_get_entropy.cpp -o rcpp_get_entropy.o In file included from rcpp_get_entropy.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_get_entropy.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_get_nearest_neighbor.cpp -o rcpp_get_nearest_neighbor.o In file included from rcpp_get_nearest_neighbor.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_get_nearest_neighbor.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_get_unique_values.cpp -o rcpp_get_unique_values.o In file included from rcpp_get_unique_values.cpp:1: In file included from ./rcpp_get_unique_values.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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 rcpp_get_unique_values.cpp:1: In file included from ./rcpp_get_unique_values.h:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/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. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp_smallest_circle.cpp -o rcpp_smallest_circle.o clang++-17 -std=gnu++17 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o landscapemetrics.so RcppExports.o rcpp_cclabel.o rcpp_create_neighborhood.o rcpp_get_boundaries.o rcpp_get_circle.o rcpp_get_class_index_map.o rcpp_get_composition_vector.o rcpp_get_coocurrence_matrix.o rcpp_get_coocurrence_matrix_diag.o rcpp_get_coocurrence_matrix_single.o rcpp_get_coocurrence_vector.o rcpp_get_entropy.o rcpp_get_nearest_neighbor.o rcpp_get_unique_values.o rcpp_smallest_circle.o -L/home/hornik/tmp/R/lib -lR installing to /srv/hornik/tmp/CRAN/landscapemetrics.Rcheck/00LOCK-landscapemetrics/00new/landscapemetrics/libs ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** 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 (landscapemetrics)