* installing *source* package 'MRS' ... ** package 'MRS' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' make[1]: Entering directory '/d/temp/RtmpWYbGj2/R.INSTALLefe02a564adb/MRS/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 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++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c main.cpp -o main.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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, arma::Col, arma::Col, 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++ -std=gnu++17 -shared -s -static-libgcc -o MRS.dll tmp.def RcppExports.o helpers.o main.o recursion.o -LD:/RCompile/recent/R-4.4.0/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.0/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.0/bin/x64 -lR make[1]: Leaving directory '/d/temp/RtmpWYbGj2/R.INSTALLefe02a564adb/MRS/src' make[1]: Entering directory '/d/temp/RtmpWYbGj2/R.INSTALLefe02a564adb/MRS/src' make[1]: Leaving directory '/d/temp/RtmpWYbGj2/R.INSTALLefe02a564adb/MRS/src' installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-MRS/00new/MRS/libs/x64 ** R ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * MD5 sums packaged installation of 'MRS' as MRS_1.2.6.zip * DONE (MRS)