* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘fdasrvf’ ...
** this is package ‘fdasrvf’ version ‘2.4.2’
** package ‘fdasrvf’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpabssBl/R.INSTALL1df7c31c3772de/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 RcppExports.cpp -o RcppExports.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 wrapperSRSF.cpp -o wrapperSRSF.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 wrapperQMAP.cpp -o wrapperQMAP.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 bayesian.cpp -o 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 pair_align_functions_expomap.cpp -o pair_align_functions_expomap.o
pair_align_functions_expomap.cpp: In function ‘arma::vec calcY(double, arma::vec)’:
pair_align_functions_expomap.cpp:9:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
9 | for (unsigned int i = 0; i < len; i++) {
| ~~^~~~~
pair_align_functions_expomap.cpp:14:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
14 | for (unsigned int i = 0; i < len; i++) {
| ~~^~~~~
pair_align_functions_expomap.cpp: In function ‘Rcpp::NumericVector cuL2norm2(arma::vec, arma::vec)’:
pair_align_functions_expomap.cpp:27:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
27 | for (unsigned int i = 0; i < n; i++) {
| ~~^~~
pair_align_functions_expomap.cpp:34:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
34 | for (unsigned int i = 0; i < n; i++) {
| ~~^~~
pair_align_functions_expomap.cpp:41:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
41 | for (unsigned int i = 0; i < (n - 1); i++) {
| ~~^~~~~~~~~
pair_align_functions_expomap.cpp:46:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
46 | for (unsigned int i = 0; i < (n - 1); i++) {
| ~~^~~~~~~~~
pair_align_functions_expomap.cpp: In function ‘double order_l2norm(arma::vec, arma::vec)’:
pair_align_functions_expomap.cpp:70:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
70 | for (unsigned int i = 0; i < n; i++) {
| ~~^~~
pair_align_functions_expomap.cpp:77:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
77 | for (unsigned int i = 0; i < n; i++) {
| ~~^~~
pair_align_functions_expomap.cpp:84:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
84 | for (unsigned int i = 0; i < (n - 1); 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.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 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:9:18: warning: unused variable ‘N’ [-Wunused-variable]
9 | 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:64:18: warning: unused variable ‘N’ [-Wunused-variable]
64 | 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 RcppExports.o wrapperSRSF.o wrapperQMAP.o bayesian.o pair_align_functions_expomap.o fdasrsf/DP.o fdasrsf/dp_grid.o fdasrsf/dp_nbhd.o fdasrsf/DynamicProgrammingQ2.o fdasrsf/misc_funcs.o fdasrsf/mlogit_warp_grad.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/RtmpabssBl/R.INSTALL1df7c31c3772de/fdasrvf/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpabssBl/R.INSTALL1df7c31c3772de/fdasrvf/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpabssBl/R.INSTALL1df7c31c3772de/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_pair_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_psi html
gam_to_v html
gauss_model html
get_curve_centroid html
get_distance_matrix html
get_hilbert_sphere_distance html
get_identity_warping html
get_l2_distance html
get_l2_inner_product html
get_l2_norm html
get_shape_distance html
get_warping_distance html
gradient html
growth_vel html
h_to_gam html
horizFPCA html
horizFPNS html
im html
inv_exp_map html
invertGamma html
jointFPCA html
jointFPCAh html
joint_gauss_model html
kmeans_align html
multiple_align_functions html
multiple_align_multivariate html
multivariate_karcher_cov html
multivariate_karcher_mean html
multivariate_pca 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
ppd html
predict.curve_pca html
predict.hfpca html
predict.jfpca html
predict.jfpcah html
predict.lpcr html
predict.mlpcr html
predict.pcr html
predict.vfpca html
psi_to_gam html
q_to_curve html
reparam_curve html
reparam_image html
resamplecurve html
rgam html
rotation_pca 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_curve 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)