* installing *source* package 'nftbart' ... ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs using C compiler: 'gcc.exe (GCC) 12.3.0' using C++ compiler: 'g++.exe (GCC) 12.3.0' using C++14 gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -fopenmp -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o g++ -std=gnu++14 -I"D:/RCompile/recent/R/include" -DNDEBUG -fopenmp -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c nftbart.cpp -o nftbart.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from nftbart.cpp:14: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} In file included from nftbart.cpp:32: brt.h: In member function 'void brt::adapt()': 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: In function 'SEXPREC* cnft2(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': cnft2.h:284:17: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 284 | Rprintf("n: %ld\n",n); | ~~^ ~ | | | | | size_t {aka long long unsigned int} | long int | %lld cnft2.h:285:22: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 285 | Rprintf("pf, ps: %ld, %ld\n",pf, ps); | ~~^ ~~ | | | | long int size_t {aka long long unsigned int} | %lld cnft2.h:285:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 285 | Rprintf("pf, ps: %ld, %ld\n",pf, ps); | ~~^ ~~ | | | | long int size_t {aka long long unsigned int} | %lld cnft2.h:294:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 294 | Rprintf("np: %d\n",np); | ~^ ~~ | | | | int size_t {aka long long unsigned int} | %lld cnft2.h:304:36: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 304 | Rprintf("number of trees mean: %ld\n",m); | ~~^ ~ | | | | | size_t {aka long long unsigned int} | long int | %lld cnft2.h:305:40: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 305 | Rprintf("number of trees stan dev: %ld\n",mh); | ~~^ ~~ | | | | | size_t {aka long long unsigned int} | long int | %lld cnft2.h:309:28: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 309 | Rprintf("burn (nskip): %ld\n",burn); | ~~^ ~~~~ | | | | | size_t {aka long long unsigned int} | long int | %lld cnft2.h:310:27: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 310 | Rprintf("nd (ndpost): %ld\n",nd); | ~~^ ~~ | | | | | size_t {aka long long unsigned int} | long int | %lld cnft2.h:311:22: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 311 | Rprintf("nadapt: %ld\n",nadapt); | ~~^ ~~~~~~ | | | | | size_t {aka long long unsigned int} | long int | %lld cnft2.h:312:26: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 312 | Rprintf("adaptevery: %ld\n",adaptevery); | ~~^ ~~~~~~~~~~ | | | | | size_t {aka long long unsigned int} | long int | %lld cnft2.h:317:28: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] 317 | Rprintf("thread count: %ld\n",tc); | ~~^ ~~ | | | | | int | long int | %d cnft2.h:331:53: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 331 | Rprintf("mean trees min num obs in bottom node: %ld\n",minnumbot); | ~~^ ~~~~~~~~~ | | | | | size_t {aka long long unsigned int} | long int | %lld cnft2.h:332:57: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 332 | Rprintf("variance trees min num obs in bottom node: %ld\n",minnumboth); | ~~^ ~~~~~~~~~~ | | | | | size_t {aka long long unsigned int} | long int | %lld cnft2.h:353:24: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] 353 | Rprintf("draw: DPM=%ld, constrain=%ld\n", drawMuTau, constrain); | ~~^ ~~~~~~~~~ | | | | long int int | %d cnft2.h:353:39: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 353 | Rprintf("draw: DPM=%ld, constrain=%ld\n", drawMuTau, constrain); | ~~^ ~~~~~~~~~ | | | | long int int | %d cnft2.h:362:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] 362 | Rprintf("printevery: %d\n",printevery); | ~^ ~~~~~~~~~~ | | | | int size_t {aka long long unsigned int} | %lld g++ -shared -s -static-libgcc -o nftbart.dll tmp.def init.o nftbart.o -fopenmp -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-nftbart/00new/nftbart/libs/x64 ** 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 ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (nftbart)