* 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:16: warning: unknown conversion type character 'z' in format [-Wformat=] 284 | Rprintf("n: %zd\n",n); | ^ cnft2.h:284:11: warning: too many arguments for format [-Wformat-extra-args] 284 | Rprintf("n: %zd\n",n); | ^~~~~~~~~~ cnft2.h:285:21: warning: unknown conversion type character 'z' in format [-Wformat=] 285 | Rprintf("pf, ps: %zd, %zd\n",pf,ps); | ^ cnft2.h:285:26: warning: unknown conversion type character 'z' in format [-Wformat=] 285 | Rprintf("pf, ps: %zd, %zd\n",pf,ps); | ^ cnft2.h:285:11: warning: too many arguments for format [-Wformat-extra-args] 285 | Rprintf("pf, ps: %zd, %zd\n",pf,ps); | ^~~~~~~~~~~~~~~~~~~~ cnft2.h:294:19: warning: unknown conversion type character 'z' in format [-Wformat=] 294 | Rprintf("np: %zd\n",np); | ^ cnft2.h:294:13: warning: too many arguments for format [-Wformat-extra-args] 294 | Rprintf("np: %zd\n",np); | ^~~~~~~~~~~ cnft2.h:304:35: warning: unknown conversion type character 'z' in format [-Wformat=] 304 | Rprintf("number of trees mean: %zd\n",m); | ^ cnft2.h:304:11: warning: too many arguments for format [-Wformat-extra-args] 304 | Rprintf("number of trees mean: %zd\n",m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cnft2.h:305:39: warning: unknown conversion type character 'z' in format [-Wformat=] 305 | Rprintf("number of trees stan dev: %zd\n",mh); | ^ cnft2.h:305:11: warning: too many arguments for format [-Wformat-extra-args] 305 | Rprintf("number of trees stan dev: %zd\n",mh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cnft2.h:309:27: warning: unknown conversion type character 'z' in format [-Wformat=] 309 | Rprintf("burn (nskip): %zd\n",burn); | ^ cnft2.h:309:11: warning: too many arguments for format [-Wformat-extra-args] 309 | Rprintf("burn (nskip): %zd\n",burn); | ^~~~~~~~~~~~~~~~~~~~~ cnft2.h:310:26: warning: unknown conversion type character 'z' in format [-Wformat=] 310 | Rprintf("nd (ndpost): %zd\n",nd); | ^ cnft2.h:310:11: warning: too many arguments for format [-Wformat-extra-args] 310 | Rprintf("nd (ndpost): %zd\n",nd); | ^~~~~~~~~~~~~~~~~~~~ cnft2.h:311:21: warning: unknown conversion type character 'z' in format [-Wformat=] 311 | Rprintf("nadapt: %zd\n",nadapt); | ^ cnft2.h:311:11: warning: too many arguments for format [-Wformat-extra-args] 311 | Rprintf("nadapt: %zd\n",nadapt); | ^~~~~~~~~~~~~~~ cnft2.h:312:25: warning: unknown conversion type character 'z' in format [-Wformat=] 312 | Rprintf("adaptevery: %zd\n",adaptevery); | ^ cnft2.h:312:11: warning: too many arguments for format [-Wformat-extra-args] 312 | Rprintf("adaptevery: %zd\n",adaptevery); | ^~~~~~~~~~~~~~~~~~~ cnft2.h:331:52: warning: unknown conversion type character 'z' in format [-Wformat=] 331 | Rprintf("mean trees min num obs in bottom node: %zd\n",minnumbot); | ^ cnft2.h:331:11: warning: too many arguments for format [-Wformat-extra-args] 331 | Rprintf("mean trees min num obs in bottom node: %zd\n",minnumbot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cnft2.h:332:56: warning: unknown conversion type character 'z' in format [-Wformat=] 332 | Rprintf("variance trees min num obs in bottom node: %zd\n",minnumboth); | ^ cnft2.h:332:11: warning: too many arguments for format [-Wformat-extra-args] 332 | Rprintf("variance trees min num obs in bottom node: %zd\n",minnumboth); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cnft2.h:362:25: warning: unknown conversion type character 'z' in format [-Wformat=] 362 | Rprintf("printevery: %zd\n",printevery); | ^ cnft2.h:362:11: warning: too many arguments for format [-Wformat-extra-args] 362 | Rprintf("printevery: %zd\n",printevery); | ^~~~~~~~~~~~~~~~~~~ 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)