* installing *source* package ‘nftbart’ ... ** 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.5 (1)’ using C++ compiler: ‘Debian clang version 17.0.5 (1)’ using C++14 clang-17 -I"/home/hornik/tmp/R/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++14 -I"/home/hornik/tmp/R/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 nftbart.cpp -o nftbart.o In file included from nftbart.cpp:14: 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 nftbart.cpp:14: 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", In file included from nftbart.cpp:32: ./brt.h:320:21: warning: variable 'm_rate' set but not used [-Wunused-but-set-variable] 320 | double pert_rate,m_rate,chgv_rate; | ^ ./brt.h:320:28: warning: variable 'chgv_rate' set but not used [-Wunused-but-set-variable] 320 | double pert_rate,m_rate,chgv_rate; | ^ In file included from nftbart.cpp:43: ./cnft2.h:294:24: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 294 | Rprintf("np: %d\n",np); | ~~ ^~ | %zu ./cnft2.h:317:33: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 317 | Rprintf("thread count: %ld\n",tc); | ~~~ ^~ | %d ./cnft2.h:353:45: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 353 | Rprintf("draw: DPM=%ld, constrain=%ld\n", drawMuTau, constrain); | ~~~ ^~~~~~~~~ | %d ./cnft2.h:353:56: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 353 | Rprintf("draw: DPM=%ld, constrain=%ld\n", drawMuTau, constrain); | ~~~ ^~~~~~~~~ | %d ./cnft2.h:362:30: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 362 | Rprintf("printevery: %d\n",printevery); | ~~ ^~~~~~~~~~ | %zu 10 warnings generated. clang++-17 -std=gnu++14 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o nftbart.so init.o nftbart.o -fopenmp -L/home/hornik/tmp/R/lib -lR installing to /srv/hornik/tmp/CRAN/nftbart.Rcheck/00LOCK-nftbart/00new/nftbart/libs ** R ** data ** demo ** 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 (nftbart)