* installing *source* package ‘PTT’ ...
** this is package ‘PTT’ version ‘1.0.1’
** package ‘PTT’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2)’
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-devel/PTT/src'
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -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 RcppExports.cpp -o RcppExports.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -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 cgbt.cpp -o cgbt.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -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 gbt.cpp -o gbt.o
cgbt.cpp: In member function ‘void CondGBT::init(arma::Mat<unsigned int>, arma::Mat<unsigned int>)’:
cgbt.cpp:49:15: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘int’ [-Wsign-compare]
   49 |   for (i=0; i <= k; i++) {
      |             ~~^~~~
cgbt.cpp:67:15: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘int’ [-Wsign-compare]
   67 |   for (i=0; i < nobs; i++) { //since we do it only once, do this for now
      |             ~~^~~~~~
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -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 helpers.cpp -o helpers.o
gbt.cpp: In member function ‘void GBT::init(arma::Mat<unsigned int>)’:
gbt.cpp:803:17: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘int’ [-Wsign-compare]
  803 |     for (i=0; i <= k; i++) {
      |               ~~^~~~
gbt.cpp:820:17: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘int’ [-Wsign-compare]
  820 |     for (i=0; i < nobs; i++) { //since we do it only once, do this for now
      |               ~~^~~~~~
cgbt.cpp: In member function ‘int CondGBT::update_node(double*, int, INDEX_TYPE)’:
cgbt.cpp:398:10: warning: ‘phi[0]’ may be used uninitialized [-Wmaybe-uninitialized]
  398 |   double phi[2]; // phi is a vector of length n_s_x, that stores log phi(A,s,x) for the current node A for s=0,1,2,...,n_s_x
      |          ^~~
gbt.cpp: In member function ‘double GBT::get_root_logphi()’:
gbt.cpp:886:16: warning: ‘log_root_phi’ may be used uninitialized [-Wmaybe-uninitialized]
  886 |   log_root_phi -= log(n_s);
      |   ~~~~~~~~~~~~~^~~~~~~~~~~
gbt.cpp:881:10: note: ‘log_root_phi’ was declared here
  881 |   double log_root_phi;
      |          ^~~~~~~~~~~~
gbt.cpp: In member function ‘double GBT::get_node_logphi(std::vector<double>&)’:
gbt.cpp:900:16: warning: ‘log_node_phi’ may be used uninitialized [-Wmaybe-uninitialized]
  900 |   log_node_phi -= log(n_s);
      |   ~~~~~~~~~~~~~^~~~~~~~~~~
gbt.cpp:895:10: note: ‘log_node_phi’ was declared here
  895 |   double log_node_phi;
      |          ^~~~~~~~~~~~
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG  -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -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 main.cpp -o main.o
gbt.cpp: In member function ‘void GBT::sample_subtree(INDEX_TYPE&, int, int, double)’:
gbt.cpp:456:55: warning: ‘nu’ may be used uninitialized [-Wmaybe-uninitialized]
  456 |       theta = R::rbeta(theta0 * nu + n0, (1 - theta0) * nu + n1);
      |                                          ~~~~~~~~~~~~~^~~~
gbt.cpp:382:12: note: ‘nu’ was declared here
  382 |     double nu,log_Ma;
      |            ^~
g++ -std=gnu++20 -shared -L/usr/local/lib64 -o PTT.so RcppExports.o cgbt.o gbt.o helpers.o main.o -llapack -L/data/localhost/ripley/R/R-devel/lib -lRblas -lgfortran -lm -latomic_asneeded -lquadmath
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-devel/PTT/src'
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-devel/PTT/src'
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-devel/PTT/src'
installing to /data/localhost/ripley/R/packages/tests-devel/PTT.Rcheck/00LOCK-PTT/00new/PTT/libs
** R
** demo
** inst
** 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 (PTT)