* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘mgee2’ ...
** package ‘mgee2’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/tmp/Rtmpa9cvL4/R.INSTALL372e94113112b/mgee2/src'
gcc-14 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c mgee2.c -o mgee2.o
mgee2.c: In function ‘Cgetmgee2v_i’:
mgee2.c:66:10: warning: variable ‘one_ptr’ set but not used [-Wunused-but-set-variable]
   66 |     int *one_ptr;
      |          ^~~~~~~
mgee2.c: In function ‘Cmgee2’:
mgee2.c:646:25: warning: variable ‘len_Z’ set but not used [-Wunused-but-set-variable]
  646 |     int nENUM, n_extID, len_Z, nrow_DM_i, nXDM_ENUM;
      |                         ^~~~~
mgee2.c:646:16: warning: variable ‘n_extID’ set but not used [-Wunused-but-set-variable]
  646 |     int nENUM, n_extID, len_Z, nrow_DM_i, nXDM_ENUM;
      |                ^~~~~~~
mgee2.c:645:38: warning: variable ‘convergence’ set but not used [-Wunused-but-set-variable]
  645 |     int one, maxit, iter, last_iter, convergence;
      |                                      ^~~~~~~~~~~
mgee2.c:645:27: warning: variable ‘last_iter’ set but not used [-Wunused-but-set-variable]
  645 |     int one, maxit, iter, last_iter, convergence;
      |                           ^~~~~~~~~
mgee2.c: In function ‘get_dvd’:
mgee2.c:3003:12: warning: variable ‘elem’ set but not used [-Wunused-but-set-variable]
 3003 |     double elem;
      |            ^~~~
mgee2.c: At top level:
mgee2.c:3259:15: warning: ‘get_1_rowsum’ defined but not used [-Wunused-function]
 3259 | static double get_1_rowsum(MATRIX *X, int i)
      |               ^~~~~~~~~~~~
mgee2.c:2921:13: warning: ‘outer_colvec_to’ defined but not used [-Wunused-function]
 2921 | static void outer_colvec_to(MATRIX *colvec,
      |             ^~~~~~~~~~~~~~~
mgee2.c:2823:13: warning: ‘get_matmult’ defined but not used [-Wunused-function]
 2823 | static void get_matmult(MATRIX *mat1,
      |             ^~~~~~~~~~~
mgee2.c:2781:13: warning: ‘get_matadd’ defined but not used [-Wunused-function]
 2781 | static void get_matadd(MATRIX *mat1,
      |             ^~~~~~~~~~
mgee2.c:2756:13: warning: ‘get_matsub’ defined but not used [-Wunused-function]
 2756 | static void get_matsub(MATRIX *mat1,
      |             ^~~~~~~~~~
mgee2.c:2686:13: warning: ‘matrix_col_mult’ defined but not used [-Wunused-function]
 2686 | static void matrix_col_mult(MATRIX *colvec, MATRIX *outmat) /* col vector times a matrix*/
      |             ^~~~~~~~~~~~~~~
mgee2.c:2661:13: warning: ‘matrix_row_mult’ defined but not used [-Wunused-function]
 2661 | static void matrix_row_mult(MATRIX *rowvec, MATRIX *outmat) /* row vector times a matrix*/
      |             ^~~~~~~~~~~~~~~
mgee2.c:2639:13: warning: ‘matrix_elem_mult’ defined but not used [-Wunused-function]
 2639 | static void matrix_elem_mult(MATRIX *inmat, MATRIX *outmat)
      |             ^~~~~~~~~~~~~~~~
mgee2.c:2608:16: warning: ‘matrix_multiply’ defined but not used [-Wunused-function]
 2608 | static MATRIX *matrix_multiply(MATRIX *mat1, MATRIX *mat2)
      |                ^~~~~~~~~~~~~~~
mgee2.c:2582:16: warning: ‘matrix_subtract’ defined but not used [-Wunused-function]
 2582 | static MATRIX *matrix_subtract(MATRIX *mat1, MATRIX *mat2)
      |                ^~~~~~~~~~~~~~~
mgee2.c:2508:13: warning: ‘rows_plug’ defined but not used [-Wunused-function]
 2508 | static void rows_plug(MATRIX *inmat, int i1, int i2, MATRIX *outmat, int j)
      |             ^~~~~~~~~
mgee2.c:2484:13: warning: ‘col_replace’ defined but not used [-Wunused-function]
 2484 | static void col_replace(MATRIX *inmat, int i, MATRIX *outmat, int j)
      |             ^~~~~~~~~~~
mgee2.c:2463:13: warning: ‘row_replace’ defined but not used [-Wunused-function]
 2463 | static void row_replace(MATRIX *inmat, int i, MATRIX *outmat, int j)
      |             ^~~~~~~~~~~
mgee2.c:2095:16: warning: ‘get_cbind’ defined but not used [-Wunused-function]
 2095 | static MATRIX *get_cbind(MATRIX *mat1, MATRIX *mat2){
      |                ^~~~~~~~~
mgee2.c:1918:16: warning: ‘VC_GEE_matexpit’ defined but not used [-Wunused-function]
 1918 | static MATRIX *VC_GEE_matexpit(MATRIX *x){
      |                ^~~~~~~~~~~~~~~
mgee2.c:1892:16: warning: ‘get_sum2col’ defined but not used [-Wunused-function]
 1892 | static MATRIX *get_sum2col(MATRIX *inmat){
      |                ^~~~~~~~~~~
mgee2.c:1866:16: warning: ‘get_sum1row’ defined but not used [-Wunused-function]
 1866 | static MATRIX *get_sum1row(MATRIX *inmat){
      |                ^~~~~~~~~~~
mgee2.c:1844:16: warning: ‘get_kronecker’ defined but not used [-Wunused-function]
 1844 | static MATRIX *get_kronecker(MATRIX *x, MATRIX *y){
      |                ^~~~~~~~~~~~~
mgee2.c:1824:16: warning: ‘get_rep’ defined but not used [-Wunused-function]
 1824 | static MATRIX *get_rep(MATRIX *x, int nrep){
      |                ^~~~~~~
mgee2.c:1810:16: warning: ‘get_rep_scalar’ defined but not used [-Wunused-function]
 1810 | static MATRIX *get_rep_scalar(int a, int nrep){
      |                ^~~~~~~~~~~~~~
mgee2.c:1795:16: warning: ‘get_seq1’ defined but not used [-Wunused-function]
 1795 | static MATRIX *get_seq1(int el_start, int end){
      |                ^~~~~~~~
mgee2.c:1778:16: warning: ‘VC_GEE_mat1over’ defined but not used [-Wunused-function]
 1778 | static MATRIX *VC_GEE_mat1over(MATRIX *x){
      |                ^~~~~~~~~~~~~~~
mgee2.c:1762:16: warning: ‘VC_GEE_matsqrt’ defined but not used [-Wunused-function]
 1762 | static MATRIX *VC_GEE_matsqrt(MATRIX *x){
      |                ^~~~~~~~~~~~~~
mgee2.c:1744:16: warning: ‘VC_GEE_diag_as_vec’ defined but not used [-Wunused-function]
 1744 | static MATRIX *VC_GEE_diag_as_vec(MATRIX *inmat){
      |                ^~~~~~~~~~~~~~~~~~
mgee2.c:1721:12: warning: ‘VC_GEE_nchanges’ defined but not used [-Wunused-function]
 1721 | static int VC_GEE_nchanges(MATRIX *X){
      |            ^~~~~~~~~~~~~~~
mgee2.c:1709:16: warning: ‘VC_GEE_col_1s’ defined but not used [-Wunused-function]
 1709 | static MATRIX *VC_GEE_col_1s(int k){
      |                ^~~~~~~~~~~~~
mgee2.c:1698:16: warning: ‘VC_GEE_ident’ defined but not used [-Wunused-function]
 1698 | static MATRIX *VC_GEE_ident(int ord){
      |                ^~~~~~~~~~~~
mgee2.c:1682:16: warning: ‘VC_GEE_scalar_times_matrix’ defined but not used [-Wunused-function]
 1682 | static MATRIX *VC_GEE_scalar_times_matrix(double a, MATRIX *X){
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~
mgee2.c:1652:16: warning: ‘VC_GEE_pxq_divby_px1’ defined but not used [-Wunused-function]
 1652 | static MATRIX *VC_GEE_pxq_divby_px1(MATRIX *pxq, MATRIX *px1){
      |                ^~~~~~~~~~~~~~~~~~~~
mgee2.c:1622:16: warning: ‘VC_GEE_px1_times_pxq’ defined but not used [-Wunused-function]
 1622 | static MATRIX *VC_GEE_px1_times_pxq(MATRIX *px1, MATRIX *pxq){
      |                ^~~~~~~~~~~~~~~~~~~~
mgee2.c:1528:16: warning: ‘VC_GEE_matadd’ defined but not used [-Wunused-function]
 1528 | static MATRIX *VC_GEE_matadd(MATRIX *mat1, MATRIX *mat2){
      |                ^~~~~~~~~~~~~
mgee2.c:1512:16: warning: ‘VC_GEE_matexp’ defined but not used [-Wunused-function]
 1512 | static MATRIX *VC_GEE_matexp(MATRIX *x){
      |                ^~~~~~~~~~~~~
mgee2.c:1494:15: warning: ‘VC_GEE_matmax’ defined but not used [-Wunused-function]
 1494 | static double VC_GEE_matmax(MATRIX *x){
      |               ^~~~~~~~~~~~~
mgee2.c:1478:16: warning: ‘VC_GEE_matabs’ defined but not used [-Wunused-function]
 1478 | static MATRIX *VC_GEE_matabs(MATRIX *x){
      |                ^~~~~~~~~~~~~
mgee2.c:1464:15: warning: ‘VC_GEE_elsum’ defined but not used [-Wunused-function]
 1464 | static double VC_GEE_elsum(MATRIX *x)
      |               ^~~~~~~~~~~~
mgee2.c:1391:12: warning: ‘VC_GEE_split’ defined but not used [-Wunused-function]
 1391 | static int VC_GEE_split(MATRIX *matptr, MATRIX *discptr, MATRIX *matarrptr[]){
      |            ^~~~~~~~~~~~
mgee2.c:1367:16: warning: ‘VC_GEE_extract_cols’ defined but not used [-Wunused-function]
 1367 | static MATRIX *VC_GEE_extract_cols(MATRIX *x, int VC_GEE_start, int end){
      |                ^~~~~~~~~~~~~~~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c packagename_init.c -o packagename_init.o
gcc-14 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o mgee2.so mgee2.o packagename_init.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmpa9cvL4/R.INSTALL372e94113112b/mgee2/src'
make[1]: Entering directory '/tmp/Rtmpa9cvL4/R.INSTALL372e94113112b/mgee2/src'
make[1]: Leaving directory '/tmp/Rtmpa9cvL4/R.INSTALL372e94113112b/mgee2/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-mgee2/00new/mgee2/libs
** R
** data
*** moving datasets to lazyload DB
** 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 (mgee2)