* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘Amelia’ ...
** package ‘Amelia’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-13) 13.2.0’
using C++ compiler: ‘g++-13 (Debian 13.2.0-13) 13.2.0’
make[1]: Entering directory '/tmp/Rtmp2uHkMq/R.INSTALL27c4504542d632/Amelia/src'
g++-13 -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/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c em.cpp -o em.o
em.cpp: In function ‘SEXPREC* emcore(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
em.cpp:110:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  110 |       for (ss = st; ss < obsmat.n_rows; ss++) {
      |                     ~~~^~~~~~~~~~~~~~~
em.cpp:138:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  138 |       for (ss = st; ss < obsmat.n_rows; ss++) {
      |                     ~~~^~~~~~~~~~~~~~~
em.cpp: In function ‘void sweep(arma::mat&, arma::vec)’:
em.cpp:297:16: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
  297 |   if (k.n_elem == p) {
      |       ~~~~~~~~~^~~~
em.cpp: In function ‘SEXPREC* ameliaImpute(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
em.cpp:388:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  388 |     for (ss = st; ss < obsmat.n_rows; ss++) {
      |                   ~~~^~~~~~~~~~~~~~~
em.cpp:419:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  419 |     for (ss = st; ss < obsmat.n_rows; ss++) {
      |                   ~~~^~~~~~~~~~~~~~~
em.cpp: In function ‘arma::mat resampler(arma::mat, arma::mat, arma::mat, arma::uvec, arma::mat, int)’:
em.cpp:494:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  494 |   for (int j = 0; j < bounds.n_rows; j++) {
      |                   ~~^~~~~~~~~~~~~~~
em.cpp: In function ‘SEXPREC* ameliaImpute(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
em.cpp:465:40: warning: ‘maxsamples’ may be used uninitialized [-Wmaybe-uninitialized]
  465 |           xplay.row(is + p) = resampler(x.row(is + p), Ci, imputations.row(p), mispos, bounds, maxsamples);
      |                               ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
em.cpp:330:7: note: ‘maxsamples’ was declared here
  330 |   int maxsamples;
      |       ^~~~~~~~~~
gcc-13 -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/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c init.c -o init.o
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o Amelia.so em.o init.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 '/tmp/Rtmp2uHkMq/R.INSTALL27c4504542d632/Amelia/src'
make[1]: Entering directory '/tmp/Rtmp2uHkMq/R.INSTALL27c4504542d632/Amelia/src'
make[1]: Leaving directory '/tmp/Rtmp2uHkMq/R.INSTALL27c4504542d632/Amelia/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-Amelia/00new/Amelia/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 ‘Amelia’
    finding HTML links ... done
    Amelia-package                          html  
    AmeliaView                              html  
    africa                                  html  
    amelia                                  html  
    ameliabind                              html  
    ameliagui                               html  
    combine.output                          html  
    compare.density                         html  
    disperse                                html  
    freetrade                               html  
    mi.combine                              html  
    mi.meld                                 html  
    missmap                                 html  
    moPrep                                  html  
    overimpute                              html  
    plot.amelia                             html  
    summary.amelia                          html  
    transform.amelia                        html  
    tscsPlot                                html  
    with.amelia                             html  
    write.amelia                            html  
** 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 (Amelia)