* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘trtswitch’ ...
** this is package ‘trtswitch’ version ‘0.2.8’
** package ‘trtswitch’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++17
using C++ compiler: ‘g++-16 (Debian 16.2.0-4) 16.2.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpO7MwiZ/R.INSTALL1f322c5e4474aa/trtswitch/src'
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:29,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp.h:27,
                 from RcppExports.cpp:5:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/check_r_headers.h:27:21: note: ‘#pragma message: R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410’
   27 |     #pragma message "R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/check_r_headers.h:35:21: note: ‘#pragma message: Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410’
   35 |     #pragma message "Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c dataframe_list.cpp -o dataframe_list.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ipcw.cpp -o ipcw.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ipe.cpp -o ipe.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c logistic_regression.cpp -o logistic_regression.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c msm.cpp -o msm.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c recensor_sim_rpsftm.cpp -o recensor_sim_rpsftm.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rpsftm.cpp -o rpsftm.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c splines.cpp -o splines.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c survival_analysis.cpp -o survival_analysis.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tsegest.cpp -o tsegest.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tsegestsim.cpp -o tsegestsim.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tsesimp.cpp -o tsesimp.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tssim.cpp -o tssim.o
g++-16 -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c utilities.cpp -o utilities.o
g++-16 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o trtswitch.so RcppExports.o dataframe_list.o ipcw.o ipe.o logistic_regression.o msm.o recensor_sim_rpsftm.o rpsftm.o splines.o survival_analysis.o tsegest.o tsegestsim.o tsesimp.o tssim.o utilities.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpO7MwiZ/R.INSTALL1f322c5e4474aa/trtswitch/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpO7MwiZ/R.INSTALL1f322c5e4474aa/trtswitch/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpO7MwiZ/R.INSTALL1f322c5e4474aa/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
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘trtswitch’
    finding HTML links ... done
    adsl                                    html  
    adtdc                                   html  
    aml                                     html  
    assess_phregr                           html  
    heart                                   html  
    immdef                                  html  
    ingots                                  html  
    ipcw                                    html  
    ipe                                     html  
    kmdiff                                  html  
    kmest                                   html  
    liferegr                                html  
    liver                                   html  
    logisregr                               html  
    lrtest                                  html  
    merge_append                            html  
    msm                                     html  
    phregr                                  html  
    plot.assess_phregr                      html  
    plot.ipcw                               html  
    plot.ipe                                html  
    plot.msm                                html  
    plot.rpsftm                             html  
    plot.tsegest                            html  
    plot.tsesimp                            html  
    preptdc                                 html  
    print.assess_phregr                     html  
    print.ipcw                              html  
    print.ipe                               html  
    print.liferegr                          html  
    print.logisregr                         html  
    print.msm                               html  
    print.phregr                            html  
    print.rpsftm                            html  
    print.summary.ipcw                      html  
    print.summary.ipe                       html  
    print.summary.msm                       html  
    print.summary.rpsftm                    html  
    print.summary.tsegest                   html  
    print.summary.tsesimp                   html  
    print.tsegest                           html  
    print.tsesimp                           html  
    process_cov                             html  
    rawdata                                 html  
    recensor_sim_rpsftm                     html  
    residuals_liferegr                      html  
    residuals_phregr                        html  
    rmdiff                                  html  
    rmest                                   html  
    rpsftm                                  html  
    sexagg                                  html  
    shilong                                 html  
    six                                     html  
    summary.ipcw                            html  
    summary.ipe                             html  
    summary.msm                             html  
    summary.rpsftm                          html  
    summary.tsegest                         html  
    summary.tsesimp                         html  
    survQuantile                            html  
    survfit_phregr                          html  
    survsplit                               html  
    tobin                                   html  
    trtswitch-package                       html  
    tsegest                                 html  
    tsegestsim                              html  
    tsesimp                                 html  
    tssim                                   html  
    zph_phregr                              html  
*** copying figures
** building package indices
** installing vignettes
** 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)