* installing *source* package ‘fdasrvf’ ...
** package ‘fdasrvf’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (GCC) 14.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/fdasrvf/src'
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c registerDynamicSymbol.cpp -o registerDynamicSymbol.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c wrapper.cpp -o wrapper.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c wrapper_rbfgs.cpp -o wrapper_rbfgs.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -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"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -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"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -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"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c fdasrsf/DynamicProgrammingQ2.cpp -o fdasrsf/DynamicProgrammingQ2.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c fdasrsf/misc_funcs.cpp -o fdasrsf/misc_funcs.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -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"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c fdasrsf/bayesian.cpp -o fdasrsf/bayesian.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c fdasrsf/pair_align_functions_expomap.cpp -o fdasrsf/pair_align_functions_expomap.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c fdaqmap/src/myVector.cpp -o fdaqmap/src/myVector.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -Ifdaqmap/incl/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -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/usr/local/gcc14/lib64 -L/usr/local/lib64 -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/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/fdasrvf/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/fdasrvf/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/fdasrvf/src'
installing to /data/gannet/ripley/R/packages/tests-devel/fdasrvf.Rcheck/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)