* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘fdasrvf’ ...
** package ‘fdasrvf’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/tmp/RtmpjEWCbb/R.INSTALL386c7022804a4d/fdasrvf/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c registerDynamicSymbol.cpp -o registerDynamicSymbol.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c wrapper.cpp -o wrapper.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c wrapper_rbfgs.cpp -o wrapper_rbfgs.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c fdasrsf/DP.cpp -o fdasrsf/DP.o
fdasrsf/DP.cpp: In function ‘double CostFn2(const double*, const double*, int, int, int, int, int, int, double, int)’:
fdasrsf/DP.cpp:228:44: warning: ‘tmp_pen’ may be used uninitialized [-Wmaybe-uninitialized]
  228 |                         E += (tmp*tmp + lam*tmp_pen);
      |                                         ~~~^~~~~~~~
fdasrsf/DP.cpp:194:73: note: ‘tmp_pen’ was declared here
  194 |         double m = (j-l)/(double)(i-k), sqrtm = sqrt(m), E = 0, y, tmp, tmp_pen, ip, fp, q1dotq2;
      |                                                                         ^~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c fdasrsf/dp_grid.cpp -o fdasrsf/dp_grid.o
fdasrsf/dp_grid.cpp: In function ‘double dp_costs(double*, double*, int, double*, double*, int, int, double*, int*, int, double*, int*, int, double*, int*, double, size_t, int (*)[2])’:
fdasrsf/dp_grid.cpp:32:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
   32 |             for ( i=0; i<dp_nbhd_count; ++i )
      |                        ~^~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c fdasrsf/dp_nbhd.cpp -o fdasrsf/dp_nbhd.o
In function ‘size_t compute_nbhd_count_rec(size_t, int*)’,
    inlined from ‘size_t compute_nbhd_count(size_t)’ at fdasrsf/dp_nbhd.cpp:101:37,
    inlined from ‘int (* dp_generate_nbhd(size_t, size_t*))[2]’ at fdasrsf/dp_nbhd.cpp:120:35:
fdasrsf/dp_nbhd.cpp:62:15: warning: ‘states[4611686018427387903]’ may be used uninitialized [-Wmaybe-uninitialized]
   62 |   if (states[n] != -1) {
      |       ~~~~~~~~^
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c fdasrsf/DynamicProgrammingQ2.cpp -o fdasrsf/DynamicProgrammingQ2.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c fdasrsf/misc_funcs.cpp -o fdasrsf/misc_funcs.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c fdasrsf/mlogit_warp_grad.cpp -o fdasrsf/mlogit_warp_grad.o
fdasrsf/mlogit_warp_grad.cpp: In function ‘void mlogit_warp_grad(int*, int*, double*, double*, double*, double*, double*, int*, int*, double*, double*, int*, double*)’:
fdasrsf/mlogit_warp_grad.cpp:16:16: warning: unused variable ‘t’ [-Wunused-variable]
   16 |         double t = *ti;
      |                ^
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c fdasrsf/bayesian.cpp -o fdasrsf/bayesian.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c fdasrsf/pair_align_functions_expomap.cpp -o fdasrsf/pair_align_functions_expomap.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c fdaqmap/src/myVector.cpp -o fdaqmap/src/myVector.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c fdaqmap/src/UnitSquareImage.cpp -o fdaqmap/src/UnitSquareImage.o
fdaqmap/src/UnitSquareImage.cpp: In function ‘void findgrad(double*, double*, const double*, int, int)’:
fdaqmap/src/UnitSquareImage.cpp:54:18: warning: unused variable ‘N’ [-Wunused-variable]
   54 |     int i, j, k, N = n*t;
      |                  ^
fdaqmap/src/UnitSquareImage.cpp: In function ‘void findgrad2D(double*, double*, double*, int, int, int)’:
fdaqmap/src/UnitSquareImage.cpp:109:18: warning: unused variable ‘N’ [-Wunused-variable]
  109 |     int i, j, k, N = n*t;
      |                  ^
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o fdasrvf.so registerDynamicSymbol.o wrapper.o wrapper_rbfgs.o fdasrsf/DP.o fdasrsf/dp_grid.o fdasrsf/dp_nbhd.o fdasrsf/DynamicProgrammingQ2.o fdasrsf/misc_funcs.o fdasrsf/mlogit_warp_grad.o fdasrsf/bayesian.o fdasrsf/pair_align_functions_expomap.o fdaqmap/src/myVector.o fdaqmap/src/UnitSquareImage.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpjEWCbb/R.INSTALL386c7022804a4d/fdasrvf/src'
make[1]: Entering directory '/tmp/RtmpjEWCbb/R.INSTALL386c7022804a4d/fdasrvf/src'
make[1]: Leaving directory '/tmp/RtmpjEWCbb/R.INSTALL386c7022804a4d/fdasrvf/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-fdasrvf/00new/fdasrvf/libs
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (fdasrvf)