* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘nftbart’ ...
** this is package ‘nftbart’ version ‘2.2’
** package ‘nftbart’ successfully unpacked and MD5 sums checked
** 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 g++-14 -std=gnu++17 accepts -g... yes
checking for g++-14 -std=gnu++17 option to support OpenMP... -fopenmp
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘gcc-14 (Debian 14.3.0-5) 14.3.0’
using C++ compiler: ‘g++-14 (Debian 14.3.0-5) 14.3.0’
using C++14
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpXoqrCg/R.INSTALL3771bf553694b4/nftbart/src'
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c init.c -o init.o
g++-14 -std=gnu++14 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c nftbart.cpp -o nftbart.o
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 /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/Vector.h:57,
                 from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp.h:41,
                 from nftbart.cpp:14:
In member function ‘R_xlen_t Rcpp::Matrix<RTYPE, StoragePolicy>::offset(int, int) const [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage]’,
    inlined from ‘Rcpp::Matrix<RTYPE, StoragePolicy>::Proxy Rcpp::Matrix<RTYPE, StoragePolicy>::operator()(const size_t&, const size_t&) [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage]’ at /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/vector/Matrix.h:138:63,
    inlined from ‘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, SEXP)’ at cnft2.h:573:17:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/vector/Matrix.h:174:69: warning: ‘g’ may be used uninitialized [-Wmaybe-uninitialized]
  174 |     inline R_xlen_t offset(const int i, const int j) const { return i + static_cast<R_xlen_t>(nrows) * j ; }
      |                                                                     ^
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, SEXP)’:
cnft2.h:537:9: note: ‘g’ was declared here
  537 |     int g;
      |         ^
g++-14 -std=gnu++14 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o nftbart.so init.o nftbart.o -fopenmp -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpXoqrCg/R.INSTALL3771bf553694b4/nftbart/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpXoqrCg/R.INSTALL3771bf553694b4/nftbart/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpXoqrCg/R.INSTALL3771bf553694b4/nftbart/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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)