* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘trtswitch’ ...
** package ‘trtswitch’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-6) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmplscMmv/R.INSTALL15562b5fc3003c/trtswitch/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ipcw.cpp -o ipcw.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ipe.cpp -o ipe.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c logistic_regression.cpp -o logistic_regression.o
logistic_regression.cpp: In function ‘double logisregplloop(int, Rcpp::NumericVector, void*, int, double, bool, int, int, double)’:
logistic_regression.cpp:456:3: warning: ‘fail’ may be used uninitialized [-Wmaybe-uninitialized]
  456 |   if (fail) {
      |   ^~
logistic_regression.cpp:352:8: note: ‘fail’ was declared here
  352 |   bool fail;
      |        ^~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rpsftm.cpp -o rpsftm.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c splines.cpp -o splines.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c survival_analysis.cpp -o survival_analysis.o
survival_analysis.cpp: In function ‘double phregplloop(int, Rcpp::NumericVector, void*, int, double, bool, int, int, double)’:
survival_analysis.cpp:4817:3: warning: ‘fail’ may be used uninitialized [-Wmaybe-uninitialized]
 4817 |   if (fail) {
      |   ^~
survival_analysis.cpp:4715:8: note: ‘fail’ was declared here
 4715 |   bool fail;
      |        ^~~~
survival_analysis.cpp: In function ‘double liferegplloop(int, Rcpp::NumericVector, void*, int, double, int, int, double)’:
survival_analysis.cpp:3165:3: warning: ‘fail’ may be used uninitialized [-Wmaybe-uninitialized]
 3165 |   if (fail) {
      |   ^~
survival_analysis.cpp:3053:8: note: ‘fail’ was declared here
 3053 |   bool fail;
      |        ^~~~
survival_analysis.cpp: In function ‘Rcpp::DataFrame rmest(Rcpp::DataFrame, const Rcpp::StringVector&, const Rcpp::StringVector&, std::string, std::string, double, double, bool)’:
survival_analysis.cpp:1213:27: warning: ‘nevent’ may be used uninitialized [-Wmaybe-uninitialized]
 1213 |           nevent0[index1] = nevent;
survival_analysis.cpp:1179:24: note: ‘nevent’ was declared here
 1179 |       double t, nrisk, nevent, surv = 1.0;
      |                        ^~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tsegest.cpp -o tsegest.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tsegestsim.cpp -o tsegestsim.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tsesimp.cpp -o tsesimp.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c utilities.cpp -o utilities.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o trtswitch.so RcppExports.o ipcw.o ipe.o logistic_regression.o rpsftm.o splines.o survival_analysis.o tsegest.o tsegestsim.o tsesimp.o utilities.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmplscMmv/R.INSTALL15562b5fc3003c/trtswitch/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmplscMmv/R.INSTALL15562b5fc3003c/trtswitch/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmplscMmv/R.INSTALL15562b5fc3003c/trtswitch/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-trtswitch/00new/trtswitch/libs
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘trtswitch’
    finding HTML links ... done
    aml                                     html  
    bscpp                                   html  
    findInterval3                           html  
    heart                                   html  
    immdef                                  html  
    ingots                                  html  
    ipcw                                    html  
    ipe                                     html  
    kmest                                   html  
    liferegr                                html  
    logisregr                               html  
    lrtest                                  html  
    nscpp                                   html  
    phregr                                  html  
    print.liferegr                          html  
    print.logisregr                         html  
    print.phregr                            html  
    qrcpp                                   html  
    rawdata                                 html  
    residuals_phregr                        html  
    rmdiff                                  html  
    rmest                                   html  
    rpsftm                                  html  
    sexagg                                  html  
    shilong                                 html  
    six                                     html  
    splineDesigncpp                         html  
    survfit_phregr                          html  
    tobin                                   html  
    trtswitch-package                       html  
    tsegest                                 html  
    tsegestsim                              html  
    tsesimp                                 html  
** 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 (trtswitch)