* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘redeem’ ...
** this is package ‘redeem’ version ‘1.0.0’
** package ‘redeem’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++17
using C++ compiler: ‘g++-15 (Debian 15.3.0-1) 15.3.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpJwBghT/R.INSTALL2f5a0229293ad/redeem/src'
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I../inst/include/redeem -DREDEEM_COMPILING_REDEEM -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/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I../inst/include/redeem -DREDEEM_COMPILING_REDEEM -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/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c current_stat.cpp -o current_stat.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I../inst/include/redeem -DREDEEM_COMPILING_REDEEM -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/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c data_dem.cpp -o data_dem.o
In file included from ../inst/include/redeem/data_dem.h:6,
                 from data_dem.cpp:1:
../inst/include/redeem/hist_events.h: In constructor ‘Hist_Events::Hist_Events(unsigned int, bool)’:
../inst/include/redeem/hist_events.h:32:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   32 |     for (unsigned int i = 0; i <= n_nodes; ++i)
      |                              ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h: In member function ‘void Hist_Events::clear()’:
../inst/include/redeem/hist_events.h:82:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   82 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h:87:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   87 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I../inst/include/redeem -DREDEEM_COMPILING_REDEEM -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/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c dem.cpp -o dem.o
In file included from ../inst/include/redeem/data_dem.h:6,
                 from ../inst/include/redeem/helper_functions.h:7,
                 from dem.cpp:1:
../inst/include/redeem/hist_events.h: In constructor ‘Hist_Events::Hist_Events(unsigned int, bool)’:
../inst/include/redeem/hist_events.h:32:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   32 |     for (unsigned int i = 0; i <= n_nodes; ++i)
      |                              ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h: In member function ‘void Hist_Events::clear()’:
../inst/include/redeem/hist_events.h:82:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   82 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h:87:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   87 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I../inst/include/redeem -DREDEEM_COMPILING_REDEEM -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/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c extension_api.cpp -o extension_api.o
In file included from ../inst/include/redeem/data_dem.h:6,
                 from ../inst/include/redeem/sufficient_statistics.h:7,
                 from extension_api.cpp:3:
../inst/include/redeem/hist_events.h: In constructor ‘Hist_Events::Hist_Events(unsigned int, bool)’:
../inst/include/redeem/hist_events.h:32:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   32 |     for (unsigned int i = 0; i <= n_nodes; ++i)
      |                              ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h: In member function ‘void Hist_Events::clear()’:
../inst/include/redeem/hist_events.h:82:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   82 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h:87:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   87 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I../inst/include/redeem -DREDEEM_COMPILING_REDEEM -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/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c gd.cpp -o gd.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I../inst/include/redeem -DREDEEM_COMPILING_REDEEM -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/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c helper_impl.cpp -o helper_impl.o
In file included from ../inst/include/redeem/data_dem.h:6,
                 from ../inst/include/redeem/helper_functions.h:7,
                 from helper_impl.cpp:2:
../inst/include/redeem/hist_events.h: In constructor ‘Hist_Events::Hist_Events(unsigned int, bool)’:
../inst/include/redeem/hist_events.h:32:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   32 |     for (unsigned int i = 0; i <= n_nodes; ++i)
      |                              ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h: In member function ‘void Hist_Events::clear()’:
../inst/include/redeem/hist_events.h:82:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   82 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h:87:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   87 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I../inst/include/redeem -DREDEEM_COMPILING_REDEEM -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/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c hist_events.cpp -o hist_events.o
In file included from hist_events.cpp:1:
../inst/include/redeem/hist_events.h: In constructor ‘Hist_Events::Hist_Events(unsigned int, bool)’:
../inst/include/redeem/hist_events.h:32:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   32 |     for (unsigned int i = 0; i <= n_nodes; ++i)
      |                              ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h: In member function ‘void Hist_Events::clear()’:
../inst/include/redeem/hist_events.h:82:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   82 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h:87:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   87 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I../inst/include/redeem -DREDEEM_COMPILING_REDEEM -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/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rem.cpp -o rem.o
In file included from ../inst/include/redeem/data_dem.h:6,
                 from ../inst/include/redeem/rem.h:6,
                 from rem.cpp:2:
../inst/include/redeem/hist_events.h: In constructor ‘Hist_Events::Hist_Events(unsigned int, bool)’:
../inst/include/redeem/hist_events.h:32:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   32 |     for (unsigned int i = 0; i <= n_nodes; ++i)
      |                              ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h: In member function ‘void Hist_Events::clear()’:
../inst/include/redeem/hist_events.h:82:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   82 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h:87:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   87 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I../inst/include/redeem -DREDEEM_COMPILING_REDEEM -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/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c sufficient_statistics.cpp -o sufficient_statistics.o
In file included from ../inst/include/redeem/data_dem.h:6,
                 from ../inst/include/redeem/sufficient_statistics.h:7,
                 from sufficient_statistics.cpp:2:
../inst/include/redeem/hist_events.h: In constructor ‘Hist_Events::Hist_Events(unsigned int, bool)’:
../inst/include/redeem/hist_events.h:32:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   32 |     for (unsigned int i = 0; i <= n_nodes; ++i)
      |                              ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h: In member function ‘void Hist_Events::clear()’:
../inst/include/redeem/hist_events.h:82:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   82 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h:87:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   87 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I../inst/include/redeem -DREDEEM_COMPILING_REDEEM -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/RcppProgress/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c wrapper.cpp -o wrapper.o
In file included from ../inst/include/redeem/data_dem.h:6,
                 from ../inst/include/redeem/dem.h:6,
                 from wrapper.cpp:4:
../inst/include/redeem/hist_events.h: In constructor ‘Hist_Events::Hist_Events(unsigned int, bool)’:
../inst/include/redeem/hist_events.h:32:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   32 |     for (unsigned int i = 0; i <= n_nodes; ++i)
      |                              ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h: In member function ‘void Hist_Events::clear()’:
../inst/include/redeem/hist_events.h:82:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   82 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
../inst/include/redeem/hist_events.h:87:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   87 |       for (unsigned int i = 1; i <= n_nodes; i++){
      |                                ~~^~~~~~~~~~
g++-15 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o redeem.so RcppExports.o current_stat.o data_dem.o dem.o extension_api.o gd.o helper_impl.o hist_events.o rem.o sufficient_statistics.o wrapper.o -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpJwBghT/R.INSTALL2f5a0229293ad/redeem/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpJwBghT/R.INSTALL2f5a0229293ad/redeem/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpJwBghT/R.INSTALL2f5a0229293ad/redeem/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-redeem/00new/redeem/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘redeem’
    finding HTML links ... done
    InitRedeemTerm                          html  
    calculate_predictions_helper            html  
    check.RedeemTerm                        html  
    check_matrix                            html  
    control.redeem                          html  
    dem                                     html  
    dem.simulate                            html  
    dem_object                              html  
    estimate_mmt                            html  
    estimate_transition                     html  
    formula_preprocess                      html  
    formula_preprocess_single               html  
    get_oos_likelihood                      html  
    get_ranking                             html  
    get_residuals                           html  
    match_coefficients                      html  
    plot_baseline                           html  
    predict_baseline_trend                  html  
    predict_transition_helper               html  
    prepare_residual_plot_data              html  
    preprocess_multi_stream                 html  
    process_event_actors                    html  
    redeem                                  html  
    redeem_terms                            html  
    rem                                     html  
    rem.simulate                            html  
    rem_object                              html  
    reproduce_model_data                    html  
    rhs_terms_as_list                       html  
    standardize_redeem_result               html  
    summary.redeem_result                   html  
    update_core_r                           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 (redeem)