* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘BayesTree’ ...
** package ‘BayesTree’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmplKo7Ci/R.INSTALL2b654f7f8da7a5/BayesTree/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c BirthDeath.cpp -o BirthDeath.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ChangeRule.cpp -o ChangeRule.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Funs.cpp -o Funs.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Lib.cpp -o Lib.o
Lib.cpp: In static member function ‘static void Lib::sortedUnique(int, double*, Vec&)’:
Lib.cpp:89:11: warning: unused variable ‘nu’ [-Wunused-variable]
   89 |    vec_sz nu = 1;
      |           ^~
Lib.cpp: In static member function ‘static void Lib::acov(Vec&, int, Vec&, bool)’:
Lib.cpp:114:32: warning: typedef ‘ST’ locally defined but not used [-Wunused-local-typedefs]
  114 |         typedef Vec::size_type ST;
      |                                ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Likelihood.cpp -o Likelihood.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c List.cpp -o List.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c MuS.cpp -o MuS.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Node.cpp -o Node.o
Node.cpp: In member function ‘void Node::currentFits(MuS*, int, double**, double*, int, double**, double*, double**)’:
Node.cpp:629:60: warning: ‘indPartTest’ may be used uninitialized [-Wmaybe-uninitialized]
  629 |                 for(int j=1;j<=nTest;j++) {if(indPartTest[j]==i) fits[2][j]=nodeMu; }
      |                                               ~~~~~~~~~~~~~^
Node.cpp:602:14: note: ‘indPartTest’ was declared here
  602 |         int* indPartTest;
      |              ^~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Prior.cpp -o Prior.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Rlob.cpp -o Rlob.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Swap.cpp -o Swap.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c mbart.cpp -o mbart.o
mbart.cpp: In function ‘void mbart(int*, int*, int*, double*, double*, double*, double*, int*, double*, double*, double*, double*, double*, int*, int*, int*, int*, int*, int*, int*, int*, int*, double*, double*, double*, int*)’:
mbart.cpp:386:10: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  386 |          if(!binary) sdraw[scnt] = sd.getS(); scnt++;
      |          ^~
mbart.cpp:386:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  386 |          if(!binary) sdraw[scnt] = sd.getS(); scnt++;
      |                                               ^~~~
mbart.cpp:300:11: warning: variable ‘alpha’ set but not used [-Wunused-but-set-variable]
  300 |    double alpha=0.0;
      |           ^~~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o BayesTree.so BirthDeath.o ChangeRule.o Funs.o Lib.o Likelihood.o List.o MuS.o Node.o Prior.o Rlob.o Swap.o mbart.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmplKo7Ci/R.INSTALL2b654f7f8da7a5/BayesTree/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmplKo7Ci/R.INSTALL2b654f7f8da7a5/BayesTree/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmplKo7Ci/R.INSTALL2b654f7f8da7a5/BayesTree/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-BayesTree/00new/BayesTree/libs
** R
** 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 (BayesTree)