* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’ * installing *source* package ‘rayshader’ ... ** package ‘rayshader’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Debian clang version 17.0.5 (1)’ make[1]: Entering directory '/tmp/RtmpGqk6Oi/R.INSTALL3b60a522448cff/rayshader/src' clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -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/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bilineargrid.cpp -o bilineargrid.o In file included from bilineargrid.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 bilineargrid.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c calculate_normal.cpp -o calculate_normal.o In file included from calculate_normal.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 calculate_normal.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 calculate_normal.cpp:2: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:229:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 229 | REprintf(str.c_str()); | ^~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:229:11: note: treat the string as an argument to avoid this 229 | REprintf(str.c_str()); | ^ | "%s", /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:231:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 231 | Rprintf(str.c_str()); | ^~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:231:10: note: treat the string as an argument to avoid this 231 | Rprintf(str.c_str()); | ^ | "%s", /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:272:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 272 | REprintf(spaces); | ^~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:272:16: note: treat the string as an argument to avoid this 272 | REprintf(spaces); | ^ | "%s", /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:274:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 274 | Rprintf(spaces); | ^~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:274:15: note: treat the string as an argument to avoid this 274 | Rprintf(spaces); | ^ | "%s", 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c construct_matrix.cpp -o construct_matrix.o In file included from construct_matrix.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 construct_matrix.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c find_groups.cpp -o find_groups.o In file included from find_groups.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 find_groups.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c interpolate_color.cpp -o interpolate_color.o In file included from interpolate_color.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 interpolate_color.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c lambshade.cpp -o lambshade.o In file included from lambshade.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 lambshade.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c make_base_cpp.cpp -o make_base_cpp.o In file included from make_base_cpp.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 make_base_cpp.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c pointspread.cpp -o pointspread.o In file included from pointspread.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 pointspread.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 pointspread.cpp:2: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:229:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 229 | REprintf(str.c_str()); | ^~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:229:11: note: treat the string as an argument to avoid this 229 | REprintf(str.c_str()); | ^ | "%s", /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:231:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 231 | Rprintf(str.c_str()); | ^~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:231:10: note: treat the string as an argument to avoid this 231 | Rprintf(str.c_str()); | ^ | "%s", /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:272:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 272 | REprintf(spaces); | ^~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:272:16: note: treat the string as an argument to avoid this 272 | REprintf(spaces); | ^ | "%s", /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:274:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 274 | Rprintf(spaces); | ^~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:274:15: note: treat the string as an argument to avoid this 274 | Rprintf(spaces); | ^ | "%s", 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rayshade.cpp -o rayshade.o In file included from rayshade.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 rayshade.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 rayshade.cpp:2: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:229:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 229 | REprintf(str.c_str()); | ^~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:229:11: note: treat the string as an argument to avoid this 229 | REprintf(str.c_str()); | ^ | "%s", /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:231:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 231 | Rprintf(str.c_str()); | ^~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:231:10: note: treat the string as an argument to avoid this 231 | Rprintf(str.c_str()); | ^ | "%s", /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:272:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 272 | REprintf(spaces); | ^~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:272:16: note: treat the string as an argument to avoid this 272 | REprintf(spaces); | ^ | "%s", /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:274:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 274 | Rprintf(spaces); | ^~~~~~ /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include/RProgress.h:274:15: note: treat the string as an argument to avoid this 274 | Rprintf(spaces); | ^ | "%s", 7 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/progress/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rayshade_multicore.cpp -o rayshade_multicore.o In file included from rayshade_multicore.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/routines.h:26: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 rayshade_multicore.cpp:1: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:181: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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/tmp/R.check/r-devel-clang/Work/build/Packages/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 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o rayshader.so RcppExports.o bilineargrid.o calculate_normal.o construct_matrix.o find_groups.o interpolate_color.o lambshade.o make_base_cpp.o pointspread.o rayshade.o rayshade_multicore.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR make[1]: Leaving directory '/tmp/RtmpGqk6Oi/R.INSTALL3b60a522448cff/rayshader/src' make[1]: Entering directory '/tmp/RtmpGqk6Oi/R.INSTALL3b60a522448cff/rayshader/src' make[1]: Leaving directory '/tmp/RtmpGqk6Oi/R.INSTALL3b60a522448cff/rayshader/src' installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-rayshader/00new/rayshader/libs ** R ** data *** moving datasets to lazyload DB ** inst ** 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 (rayshader)