* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘modelSelection’ ...
** this is package ‘modelSelection’ version ‘1.0.3’
** package ‘modelSelection’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 19.1.7 (3+b2)’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpRVdLHU/R.INSTALL31f1e93b9d219b/modelSelection/src'
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c Polynomial.cpp -o Polynomial.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c PolynomialRootFinder.cpp -o PolynomialRootFinder.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c RcppExports.cpp -o RcppExports.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c covariancemat.cpp -o covariancemat.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c crossprodmat.cpp -o crossprodmat.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c cstat.cpp -o cstat.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c ggm.cpp -o ggm.o
In file included from ggm.cpp:1:
In file included from ./ggm.h:16:
In file included from ./modselIntegrals.h:8:
In file included from ./modelSel_regression.h:12:
In file included from ./glm.h:13:
./modselFunction.h:23:74: warning: struct 'lmObject' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   23 | typedef void (*pt2hess)(double **H, double *th, int *sel, int *thlength, struct lmObject *, std::map<string, double*> *funargs);
      |                                                                          ^
./modselFunction.h:10:7: note: previous use is here
   10 | class lmObject; //forward declaration (see modelSel_regression.h for actual declaration)
      |       ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c glm.cpp -o glm.o
In file included from glm.cpp:1:
In file included from ./glm.h:12:
In file included from ./modelSel_regression.h:13:
In file included from ./survival.h:14:
./modselFunction.h:23:74: warning: struct 'lmObject' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   23 | typedef void (*pt2hess)(double **H, double *th, int *sel, int *thlength, struct lmObject *, std::map<string, double*> *funargs);
      |                                                                          ^
./modselFunction.h:10:7: note: previous use is here
   10 | class lmObject; //forward declaration (see modelSel_regression.h for actual declaration)
      |       ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c marginalLikelihood.cpp -o marginalLikelihood.o
In file included from marginalLikelihood.cpp:13:
In file included from ./modelSel_regression.h:12:
In file included from ./glm.h:13:
./modselFunction.h:23:74: warning: struct 'lmObject' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   23 | typedef void (*pt2hess)(double **H, double *th, int *sel, int *thlength, struct lmObject *, std::map<string, double*> *funargs);
      |                                                                          ^
./modselFunction.h:10:7: note: previous use is here
   10 | class lmObject; //forward declaration (see modelSel_regression.h for actual declaration)
      |       ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c mixtures.cpp -o mixtures.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c modelSel_regression.cpp -o modelSel_regression.o
In file included from modelSel_regression.cpp:13:
In file included from ./glm.h:12:
In file included from ./modelSel_regression.h:13:
In file included from ./survival.h:14:
./modselFunction.h:23:74: warning: struct 'lmObject' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   23 | typedef void (*pt2hess)(double **H, double *th, int *sel, int *thlength, struct lmObject *, std::map<string, double*> *funargs);
      |                                                                          ^
./modselFunction.h:10:7: note: previous use is here
   10 | class lmObject; //forward declaration (see modelSel_regression.h for actual declaration)
      |       ^
modelSel_regression.cpp:4257:65: warning: variable 'singlevarcount' set but not used [-Wunused-but-set-variable]
 4257 |   int i, j, i_var, j_var, varcount, groupcount, *groupsel, p_i, singlevarcount=0, npar= covariate_indexes->size();
      |                                                                 ^
modelSel_regression.cpp:6507:92: warning: variable 'y0Wsy0' set but not used [-Wunused-but-set-variable]
 6507 |   double sigma, alphat, alpha, w, w1, w2, ws1, ws2, wss1, wss2, *y0, *Wy0, *Wsy0, y0Wy0=0, y0Wsy0=0, y0Wssy0=0;
      |                                                                                            ^
modelSel_regression.cpp:7928:44: warning: variable 'singlevarcount' set but not used [-Wunused-but-set-variable]
 7928 |   int i, *isgroup=lm->isgroup, varingroup, singlevarcount=0;
      |                                            ^
4 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c modselFunction.cpp -o modselFunction.o
In file included from modselFunction.cpp:1:
./modselFunction.h:23:74: warning: struct 'lmObject' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   23 | typedef void (*pt2hess)(double **H, double *th, int *sel, int *thlength, struct lmObject *, std::map<string, double*> *funargs);
      |                                                                          ^
./modselFunction.h:10:7: note: previous use is here
   10 | class lmObject; //forward declaration (see modelSel_regression.h for actual declaration)
      |       ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c modselIntegrals.cpp -o modselIntegrals.o
In file included from modselIntegrals.cpp:1:
In file included from ./modselIntegrals.h:8:
In file included from ./modelSel_regression.h:12:
In file included from ./glm.h:13:
./modselFunction.h:23:74: warning: struct 'lmObject' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   23 | typedef void (*pt2hess)(double **H, double *th, int *sel, int *thlength, struct lmObject *, std::map<string, double*> *funargs);
      |                                                                          ^
./modselFunction.h:10:7: note: previous use is here
   10 | class lmObject; //forward declaration (see modelSel_regression.h for actual declaration)
      |       ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_USE_CURRENT -DARMA_USE_OPENMP -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c survival.cpp -o survival.o
In file included from survival.cpp:1:
In file included from ./survival.h:13:
In file included from ./modelSel_regression.h:12:
In file included from ./glm.h:13:
./modselFunction.h:23:74: warning: struct 'lmObject' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   23 | typedef void (*pt2hess)(double **H, double *th, int *sel, int *thlength, struct lmObject *, std::map<string, double*> *funargs);
      |                                                                          ^
./modselFunction.h:10:7: note: previous use is here
   10 | class lmObject; //forward declaration (see modelSel_regression.h for actual declaration)
      |       ^
survival.cpp:125:135: warning: variable 'sumD' set but not used [-Wunused-but-set-variable]
  125 |   double rho= th[*thlength -1], exprho, *y= (*lm).y, *x= (*lm).x, *ytXuncens= (*lm).ytXuncens, *res, *pnormres, ytres, *sumy2obs, *D, sumD=0, sumy2D=0, xyD, r;
      |                                                                                                                                       ^
survival.cpp:365:135: warning: variable 'sumD' set but not used [-Wunused-but-set-variable]
  365 |   double rho= th[*thlength -1], exprho, *y= (*lm).y, *x= (*lm).x, *ytXuncens= (*lm).ytXuncens, *res, *pnormres, ytres, *sumy2obs, *D, sumD=0, sumy2D=0, xyD, r;
      |                                                                                                                                       ^
3 warnings generated.
clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/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-devel-clang/Work/build/lib -lRblas -L/usr/lib/llvm-19/lib -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpRVdLHU/R.INSTALL31f1e93b9d219b/modelSelection/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpRVdLHU/R.INSTALL31f1e93b9d219b/modelSelection/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpRVdLHU/R.INSTALL31f1e93b9d219b/modelSelection/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-modelSelection/00new/modelSelection/libs
** 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
** 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)