* installing *source* package ‘BayesTree’ ...
** this is package ‘BayesTree’ version ‘0.3-1.5’
** package ‘BayesTree’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/BayesTree/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c BirthDeath.cpp -o BirthDeath.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c ChangeRule.cpp -o ChangeRule.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Funs.cpp -o Funs.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -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++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Likelihood.cpp -o Likelihood.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c List.cpp -o List.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c MuS.cpp -o MuS.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -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++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Prior.cpp -o Prior.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rlob.cpp -o Rlob.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Swap.cpp -o Swap.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -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++ -std=gnu++17 -shared -L/usr/local/lib64 -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
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/BayesTree/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/BayesTree/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/BayesTree/src'
installing to /data/gannet/ripley/R/packages/tests-devel/BayesTree.Rcheck/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)