* installing to library ‘/home/hornik/tmp/R.check/r-patched-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 '/home/hornik/tmp/scratch/RtmpSJDkD4/R.INSTALL3e1ed63c6430ac/fdasrvf/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c registerDynamicSymbol.cpp -o registerDynamicSymbol.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c wrapper.cpp -o wrapper.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c wrapper_rbfgs.cpp -o wrapper_rbfgs.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -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-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -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-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -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-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c fdasrsf/DynamicProgrammingQ2.cpp -o fdasrsf/DynamicProgrammingQ2.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c fdasrsf/misc_funcs.cpp -o fdasrsf/misc_funcs.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -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-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c fdasrsf/bayesian.cpp -o fdasrsf/bayesian.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -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-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c fdaqmap/src/myVector.cpp -o fdaqmap/src/myVector.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Ifdaqmap/incl/ -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -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-patched-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-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/RtmpSJDkD4/R.INSTALL3e1ed63c6430ac/fdasrvf/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpSJDkD4/R.INSTALL3e1ed63c6430ac/fdasrvf/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpSJDkD4/R.INSTALL3e1ed63c6430ac/fdasrvf/src'
installing to /home/hornik/tmp/R.check/r-patched-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
  converting help for package ‘fdasrvf’
    finding HTML links ... done
    LongRunCovMatrix                        html  
    SqrtMean                                html  
    SqrtMeanInverse                         html  
    SqrtMedian                              html  
    align_fPCA                              html  
    ampbox_data                             html  
    beta                                    html  
    bootTB                                  html  
    boxplot.fdawarp                         html  
    calc_shape_dist                         html  
    curve2srvf                              html  
    curve_boxplot                           html  
    curve_depth                             html  
    curve_dist                              html  
    curve_geodesic                          html  
    curve_karcher_cov                       html  
    curve_karcher_mean                      html  
    curve_pair_align                        html  
    curve_principal_directions              html  
    curve_srvf_align                        html  
    curve_to_q                              html  
    curvebox_data                           html  
    discrete2curve                          html  
    discrete2warping                        html  
    elastic.depth                           html  
    elastic.distance                        html  
    elastic.logistic                        html  
    elastic.lpcr.regression                 html  
    elastic.mlogistic                       html  
    elastic.mlpcr.regression                html  
    elastic.pcr.regression                  html  
    elastic.prediction                      html  
    elastic.regression                      html  
    elastic_amp_change_ff                   html  
    elastic_change_fpca                     html  
    elastic_ph_change_ff                    html  
    f_plot                                  html  
    f_to_srvf                               html  
    fdasrvf                                 html  
    function_group_warp_bayes               html  
    function_mean_bayes                     html  
    gam_to_h                                html  
    gam_to_v                                html  
    gauss_model                             html  
    get_distance_matrix                     html  
    get_hilbert_sphere_distance             html  
    get_identity_warping                    html  
    get_l2_distance                         html  
    get_l2_inner_product                    html  
    get_shape_distance                      html  
    get_warping_distance                    html  
    gradient                                html  
    growth_vel                              html  
    h_to_gam                                html  
    horizFPCA                               html  
    im                                      html  
    inv_exp_map                             html  
    invertGamma                             html  
    jointFPCA                               html  
    jointFPCAh                              html  
    joint_gauss_model                       html  
    kmeans_align                            html  
    multiple_align_functions                html  
    multivariate_karcher_mean               html  
    optimum.reparam                         html  
    outlier.detection                       html  
    pair_align_functions                    html  
    pair_align_functions_bayes              html  
    pair_align_functions_expomap            html  
    pair_align_image                        html  
    pcaTB                                   html  
    phbox_data                              html  
    plot_curve                              html  
    predict.hfpca                           html  
    predict.jfpca                           html  
    predict.jfpcah                          html  
    predict.lpcr                            html  
    predict.mlpcr                           html  
    predict.pcr                             html  
    predict.vfpca                           html  
    q_to_curve                              html  
    reparam_curve                           html  
    reparam_image                           html  
    resamplecurve                           html  
    rgam                                    html  
    sample_shapes                           html  
    shape_CI                                html  
    simu_data                               html  
    simu_warp                               html  
    simu_warp_median                        html  
    smooth.data                             html  
    srvf2curve                              html  
    srvf_to_f                               html  
    time_warping                            html  
    to_hilbert_sphere                       html  
    toy_data                                html  
    toy_warp                                html  
    v_to_gam                                html  
    vertFPCA                                html  
    warp_curve                              html  
    warp_f_gamma                            html  
    warp_q_gamma                            html  
    warp_srvf                               html  
*** 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)