* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘modelSelection’ ...
** this is package ‘modelSelection’ version ‘1.0.4’
** package ‘modelSelection’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpgcZls9/R.INSTALL14c81d1515324c/modelSelection/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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c Polynomial.cpp -o Polynomial.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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c PolynomialRootFinder.cpp -o PolynomialRootFinder.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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c covariancemat.cpp -o covariancemat.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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c crossprodmat.cpp -o crossprodmat.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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c cstat.cpp -o cstat.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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c ggm.cpp -o ggm.o
ggm.cpp: In function ‘void GGMrow_marg(double*, arma::mat*, arma::mat*, arma::mat*, arma::SpMat<short int>*, unsigned int, ggmObject*, arma::mat*, arma::mat*, arma::SpMat<short int>*)’:
ggm.cpp:2062:42: warning: ‘U_newcol’ may be used uninitialized [-Wmaybe-uninitialized]
2062 | if (row_added != -1) free_dvector(U_newcol, 0, cholUinv->n_cols);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggm.cpp:2024:15: note: ‘U_newcol’ was declared here
2024 | double *U_newcol;
| ^~~~~~~~
ggm.cpp: In function ‘void GGMrow_marg_regression(double*, arma::mat*, arma::mat*, arma::mat*, arma::SpMat<short int>*, unsigned int, ggmObject*, arma::mat*, arma::mat*, arma::SpMat<short int>*)’:
ggm.cpp:2228:42: warning: ‘XtX_newcol’ may be used uninitialized [-Wmaybe-uninitialized]
2228 | if (row_added != -1) free_dvector(XtX_newcol, 0, cholXtXinv.n_cols);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggm.cpp:2192:15: note: ‘XtX_newcol’ was declared here
2192 | double *XtX_newcol;
| ^~~~~~~~~~
ggm.cpp: In function ‘void unique_model_logprob(arma::SpMat<short int>*, std::vector<double>*, std::map<std::__cxx11::basic_string<char>, double>*, arma::SpMat<short int>*, arma::mat*, double*, double*)’:
ggm.cpp:1291:35: warning: ‘logmaxratio’ may be used uninitialized [-Wmaybe-uninitialized]
1291 | (*unique_logprob)[i]= max_xy(modelids_logprob[idx] - maxprob, - logmaxratio); //truncate probabilities according to maxratio
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggm.cpp:1247:30: note: ‘logmaxratio’ was declared here
1247 | double maxprob= -INFINITY, logmaxratio;
| ^~~~~~~~~~~
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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c glm.cpp -o glm.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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c marginalLikelihood.cpp -o marginalLikelihood.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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c mixtures.cpp -o mixtures.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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c modelSel_regression.cpp -o modelSel_regression.o
modelSel_regression.cpp: In function ‘void posteriorprec_update_lm(bool*, arma::mat*, arma::mat*, double*, arma::mat*, arma::mat*, arma::SpMat<short int>*, arma::SpMat<short int>*, lmObject*)’:
modelSel_regression.cpp:2404:38: warning: ‘Vinv_newcol’ may be used uninitialized [-Wmaybe-uninitialized]
2404 | if (row_added != -1) free_dvector(Vinv_newcol, 0, nrows - 1);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
modelSel_regression.cpp:2341:11: note: ‘Vinv_newcol’ was declared here
2341 | double *Vinv_newcol;
| ^~~~~~~~~~~
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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c modselFunction.cpp -o modselFunction.o
modselFunction.cpp: In member function ‘double modselFunction::laplaceapprox(double*, double*, double**, double**, bool, std::map<std::__cxx11::basic_string<char>, double*>*)’:
modselFunction.cpp:737:33: warning: ‘mycholH’ may be used uninitialized [-Wmaybe-uninitialized]
737 | if (cholH== NULL) free_dmatrix(mycholH, 1,this->thlength,1,this->thlength);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modselFunction.cpp:709:26: note: ‘mycholH’ was declared here
709 | double ans, logdetH, **mycholH;
| ^~~~~~~
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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c modselIntegrals.cpp -o modselIntegrals.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 -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic -g -O2 -Wall -pedantic -mtune=native -c survival.cpp -o survival.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o modelSelection.so Polynomial.o PolynomialRootFinder.o RcppExports.o covariancemat.o crossprodmat.o cstat.o ggm.o glm.o marginalLikelihood.o mixtures.o modelSel_regression.o modselFunction.o modselIntegrals.o survival.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/RtmpgcZls9/R.INSTALL14c81d1515324c/modelSelection/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpgcZls9/R.INSTALL14c81d1515324c/modelSelection/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpgcZls9/R.INSTALL14c81d1515324c/modelSelection/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-modelSelection/00new/modelSelection/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘modelSelection’
finding HTML links ... done
bbPrior html
bestBIC html
bfnormmix html
cil html
dalapl html
ddir html
diwish html
dmom html
dpostNIW html
eprod html
icfit-class html
icov html
localnulltest html
marginalLikelihood html
marginalNIW html
mixturebf-class html
mode2g html
modelSelection html
modelSelectionGGM html
msPriorSpec-class html
msfit-class html
msfit_ggm-class html
plotprior html
postProb html
postSamples html
rnlp 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 (modelSelection)