* installing *source* package ‘BART’ ... ** using staged installation checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether clang++-17 -std=gnu++17 accepts -g... yes checking for clang++-17 -std=gnu++17 option to support OpenMP... -fopenmp configure: creating ./config.status config.status: creating src/Makevars ** libs using C compiler: ‘Debian clang version 17.0.6 (3)’ using C++ compiler: ‘Debian clang version 17.0.6 (3)’ clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c bart.cpp -o bart.o In file included from bart.cpp:20: In file included from ./bart.h:25: In file included from ./tree.h:26: In file included from ./common.h:51: 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 bart.cpp:20: In file included from ./bart.h:25: In file included from ./tree.h:26: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c bartfuns.cpp -o bartfuns.o In file included from bartfuns.cpp:20: In file included from ./bartfuns.h:23: In file included from ./tree.h:26: In file included from ./common.h:51: 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 bartfuns.cpp:20: In file included from ./bartfuns.h:23: In file included from ./tree.h:26: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c bd.cpp -o bd.o In file included from bd.cpp:20: In file included from ./bd.h:23: In file included from ./info.h:22: In file included from ./common.h:51: 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 bd.cpp:20: In file included from ./bd.h:23: In file included from ./info.h:22: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c cabart.cpp -o cabart.o In file included from cabart.cpp:21: In file included from ./common.h:51: 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 cabart.cpp:21: In file included from ./common.h:51: 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", cabart.cpp:111:9: warning: unused variable 'grp' [-Wunused-variable] 111 | int *grp = &_grp[0]; | ^~~ 4 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c cgbart.cpp -o cgbart.o In file included from cgbart.cpp:21: In file included from ./common.h:51: 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 cgbart.cpp:21: In file included from ./common.h:51: 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", cgbart.cpp:108:9: warning: unused variable 'grp' [-Wunused-variable] 108 | int *grp = &_grp[0]; | ^~~ 4 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c clbart.cpp -o clbart.o In file included from clbart.cpp:21: In file included from ./common.h:51: 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 clbart.cpp:21: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c cpbart.cpp -o cpbart.o In file included from cpbart.cpp:22: In file included from ./tree.h:26: In file included from ./common.h:51: 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 cpbart.cpp:22: In file included from ./tree.h:26: In file included from ./common.h:51: 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", cpbart.cpp:104:9: warning: unused variable 'grp' [-Wunused-variable] 104 | int *grp = &_grp[0]; | ^~~ 4 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c cpwbart.cpp -o cpwbart.o In file included from cpwbart.cpp:20: In file included from ./tree.h:26: In file included from ./common.h:51: 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 cpwbart.cpp:20: In file included from ./tree.h:26: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c cwbart.cpp -o cwbart.o In file included from cwbart.cpp:20: In file included from ./tree.h:26: In file included from ./common.h:51: 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 cwbart.cpp:20: In file included from ./tree.h:26: In file included from ./common.h:51: 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", cwbart.cpp:106:9: warning: unused variable 'grp' [-Wunused-variable] 106 | int *grp = &_grp[0]; | ^~~ 4 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c heterbart.cpp -o heterbart.o In file included from heterbart.cpp:20: In file included from ./heterbart.h:22: In file included from ./bart.h:25: In file included from ./tree.h:26: In file included from ./common.h:51: 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 heterbart.cpp:20: In file included from ./heterbart.h:22: In file included from ./bart.h:25: In file included from ./tree.h:26: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c heterbartfuns.cpp -o heterbartfuns.o In file included from heterbartfuns.cpp:20: In file included from ./heterbartfuns.h:23: In file included from ./tree.h:26: In file included from ./common.h:51: 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 heterbartfuns.cpp:20: In file included from ./heterbartfuns.h:23: In file included from ./tree.h:26: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c heterbd.cpp -o heterbd.o In file included from heterbd.cpp:20: In file included from ./heterbd.h:23: In file included from ./info.h:22: In file included from ./common.h:51: 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 heterbd.cpp:20: In file included from ./heterbd.h:23: In file included from ./info.h:22: In file included from ./common.h:51: 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 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c init.c -o init.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c lambda.cpp -o lambda.o In file included from lambda.cpp:21: In file included from ./lambda.h:24: In file included from ./common.h:51: 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 lambda.cpp:21: In file included from ./lambda.h:24: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c mc_cores_openmp.cpp -o mc_cores_openmp.o In file included from mc_cores_openmp.cpp:20: In file included from ./common.h:51: 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 mc_cores_openmp.cpp:20: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c rtgamma.cpp -o rtgamma.o In file included from rtgamma.cpp:20: In file included from ./rtgamma.h:23: In file included from ./common.h:51: 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 rtgamma.cpp:20: In file included from ./rtgamma.h:23: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c rtnorm.cpp -o rtnorm.o In file included from rtnorm.cpp:21: In file included from ./rtnorm.h:24: In file included from ./common.h:51: 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 rtnorm.cpp:21: In file included from ./rtnorm.h:24: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c tree.cpp -o tree.o In file included from tree.cpp:20: In file included from ./tree.h:26: In file included from ./common.h:51: 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 tree.cpp:20: In file included from ./tree.h:26: In file included from ./common.h:51: 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-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c treefuns.cpp -o treefuns.o In file included from treefuns.cpp:20: In file included from ./treefuns.h:23: In file included from ./tree.h:26: In file included from ./common.h:51: 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 treefuns.cpp:20: In file included from ./treefuns.h:23: In file included from ./tree.h:26: In file included from ./common.h:51: 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 -shared -L/home/hornik/tmp/R-d-clang-17/lib -Wl,-O1 -o BART.so bart.o bartfuns.o bd.o cabart.o cgbart.o clbart.o cpbart.o cpwbart.o cwbart.o heterbart.o heterbartfuns.o heterbd.o init.o lambda.o mc_cores_openmp.o rtgamma.o rtnorm.o tree.o treefuns.o -fopenmp -L/home/hornik/tmp/R-d-clang-17/lib -lR installing to /srv/hornik/tmp/CRAN/BART.Rcheck/00LOCK-BART/00new/BART/libs ** R ** data ** demo ** 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 (BART)