* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’ * installing *source* package ‘MRS’ ... ** package ‘MRS’ 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/RtmpbZhuXt/R.INSTALL2ae060772b4562/MRS/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -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 -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'/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 -fpic -g -O2 -Wall -pedantic -mtune=native -c helpers.cpp -o helpers.o helpers.cpp: In function ‘arma::vec newtonMethod(arma::vec, arma::vec, double, double)’: helpers.cpp:275:8: warning: variable ‘foundSol’ set but not used [-Wunused-but-set-variable] 275 | bool foundSol = false; | ^~~~~~~~ helpers.cpp: In function ‘std::pair<bool, INDEX_TYPE_t> make_parent_index(INDEX_TYPE&, short unsigned int, int, short unsigned int)’: helpers.cpp:117:5: warning: ‘x_curr’ may be used uninitialized [-Wmaybe-uninitialized] 117 | if(x_curr != data) | ^~ helpers.cpp:103:9: note: ‘x_curr’ was declared here 103 | int x_curr; | ^~~~~~ helpers.cpp:121:39: warning: ‘parent_index_var_prev’ may be used uninitialized [-Wmaybe-uninitialized] 121 | x_curr += parent_index.var[i] - parent_index_var_prev - 1; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ helpers.cpp:104:9: note: ‘parent_index_var_prev’ was declared here 104 | int parent_index_var_prev; | ^~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -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 -fpic -g -O2 -Wall -pedantic -mtune=native -c main.cpp -o main.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -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 -fpic -g -O2 -Wall -pedantic -mtune=native -c recursion.cpp -o recursion.o recursion.cpp: In member function ‘void class_tree::compute_map(INDEX_TYPE&, int, arma::mat)’: recursion.cpp:299:10: warning: unused variable ‘row’ [-Wunused-variable] 299 | uword row, col, slice; | ^~~ recursion.cpp:299:15: warning: unused variable ‘col’ [-Wunused-variable] 299 | uword row, col, slice; | ^~~ recursion.cpp: In member function ‘void class_tree::representative_subtree(INDEX_TYPE&, int, short unsigned int, arma::Mat<unsigned int>, arma::Col<unsigned int>, arma::Col<unsigned int>, arma::uword)’: recursion.cpp:818:18: warning: unused variable ‘max_val’ [-Wunused-variable] 818 | double max_val = loglike.max(state_star); | ^~~~~~~ recursion.cpp: In member function ‘void class_tree::update()’: recursion.cpp:255:33: warning: ‘LAMBDA_CURR’ may be used uninitialized [-Wmaybe-uninitialized] 255 | LAMBDA_CURR[it] = lambda_post(s, d); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ recursion.cpp:55:22: note: ‘LAMBDA_CURR’ was declared here 55 | double *CHI_CURR, *LAMBDA_CURR; | ^~~~~~~~~~~ recursion.cpp:245:31: warning: ‘XI_CURR’ may be used uninitialized [-Wmaybe-uninitialized] 245 | XI_CURR[it] = xi_post(s, t); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ recursion.cpp:56:11: note: ‘XI_CURR’ was declared here 56 | double *XI_CURR, *PSI_CURR, *UPSILON_CURR; | ^~~~~~~ recursion.cpp:230:25: warning: ‘PSI_CURR’ may be used uninitialized [-Wmaybe-uninitialized] 230 | PSI_CURR[0] = compute_post_psi( I, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 231 | level, | ~~~~~~ 232 | xi_post(0, 0), | ~~~~~~~~~~~~~~ 233 | xi_post(0, 2), | ~~~~~~~~~~~~~~ 234 | lambda_post.row(0).t() ); | ~~~~~~~~~~~~~~~~~~~~~~~~ recursion.cpp:56:21: note: ‘PSI_CURR’ was declared here 56 | double *XI_CURR, *PSI_CURR, *UPSILON_CURR; | ^~~~~~~~ recursion.cpp:272:24: warning: ‘UPSILON_CURR’ may be used uninitialized [-Wmaybe-uninitialized] 272 | UPSILON_CURR += n_states; | ~~~~~~~~~~~~~^~~~~~~~~~~ recursion.cpp:56:32: note: ‘UPSILON_CURR’ was declared here 56 | double *XI_CURR, *PSI_CURR, *UPSILON_CURR; | ^~~~~~~~~~~~ recursion.cpp:57:11: warning: ‘NU_CURR’ may be used uninitialized [-Wmaybe-uninitialized] 57 | double *NU_CURR, *THETA_CURR; | ^~~~~~~ recursion.cpp:57:21: warning: ‘THETA_CURR’ may be used uninitialized [-Wmaybe-uninitialized] 57 | double *NU_CURR, *THETA_CURR; | ^~~~~~~~~~ g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o MRS.so RcppExports.o helpers.o main.o recursion.o -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/RtmpbZhuXt/R.INSTALL2ae060772b4562/MRS/src' make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpbZhuXt/R.INSTALL2ae060772b4562/MRS/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpbZhuXt/R.INSTALL2ae060772b4562/MRS/src' installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-MRS/00new/MRS/libs ** R ** byte-compile and prepare package for lazy loading ** help *** installing help indices converting help for package ‘MRS’ finding HTML links ... done andova html mrs html plot1D html plot2D html plotTree html print.summary.mrs html summary.mrs html ** 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 (MRS)