* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘Amelia’ ...
** this is package ‘Amelia’ version ‘1.8.3’
** package ‘Amelia’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.3.0-8) 14.3.0’
using C++ compiler: ‘g++-14 (Debian 14.3.0-8) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpKxLmJa/R.INSTALL3d626a1c446071/Amelia/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o Amelia.so em.o init.o -llapack -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpKxLmJa/R.INSTALL3d626a1c446071/Amelia/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpKxLmJa/R.INSTALL3d626a1c446071/Amelia/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpKxLmJa/R.INSTALL3d626a1c446071/Amelia/src'
installing to /home/hornik/tmp/R.check/r-release-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
** 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)