* installing *source* package ‘mgee2’ ...
** package ‘mgee2’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘clang version 18.1.2’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/mgee2/src'
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c mgee2.c -o mgee2.o
mgee2.c:65:10: warning: variable 'one_ptr' set but not used [-Wunused-but-set-variable]
   65 |     int *one_ptr;
      |          ^
mgee2.c:644:27: warning: variable 'last_iter' set but not used [-Wunused-but-set-variable]
  644 |     int one, maxit, iter, last_iter, convergence;
      |                           ^
mgee2.c:644:38: warning: variable 'convergence' set but not used [-Wunused-but-set-variable]
  644 |     int one, maxit, iter, last_iter, convergence;
      |                                      ^
mgee2.c:645:16: warning: variable 'n_extID' set but not used [-Wunused-but-set-variable]
  645 |     int nENUM, n_extID, len_Z, nrow_DM_i, nXDM_ENUM;
      |                ^
mgee2.c:645:25: warning: variable 'len_Z' set but not used [-Wunused-but-set-variable]
  645 |     int nENUM, n_extID, len_Z, nrow_DM_i, nXDM_ENUM;
      |                         ^
mgee2.c:2996:12: warning: variable 'elem' set but not used [-Wunused-but-set-variable]
 2996 |     double elem;
      |            ^
mgee2.c:1527:16: warning: unused function 'VC_GEE_matadd' [-Wunused-function]
 1527 | static MATRIX *VC_GEE_matadd(MATRIX *mat1, MATRIX *mat2){
      |                ^~~~~~~~~~~~~
mgee2.c:1708:16: warning: unused function 'VC_GEE_col_1s' [-Wunused-function]
 1708 | static MATRIX *VC_GEE_col_1s(int k){
      |                ^~~~~~~~~~~~~
mgee2.c:1477:16: warning: unused function 'VC_GEE_matabs' [-Wunused-function]
 1477 | static MATRIX *VC_GEE_matabs(MATRIX *x){
      |                ^~~~~~~~~~~~~
mgee2.c:1511:16: warning: unused function 'VC_GEE_matexp' [-Wunused-function]
 1511 | static MATRIX *VC_GEE_matexp(MATRIX *x){
      |                ^~~~~~~~~~~~~
mgee2.c:1621:16: warning: unused function 'VC_GEE_px1_times_pxq' [-Wunused-function]
 1621 | static MATRIX *VC_GEE_px1_times_pxq(MATRIX *px1, MATRIX *pxq){
      |                ^~~~~~~~~~~~~~~~~~~~
mgee2.c:1651:16: warning: unused function 'VC_GEE_pxq_divby_px1' [-Wunused-function]
 1651 | static MATRIX *VC_GEE_pxq_divby_px1(MATRIX *pxq, MATRIX *px1){
      |                ^~~~~~~~~~~~~~~~~~~~
mgee2.c:1681:16: warning: unused function 'VC_GEE_scalar_times_matrix' [-Wunused-function]
 1681 | static MATRIX *VC_GEE_scalar_times_matrix(double a, MATRIX *X){
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~
mgee2.c:1697:16: warning: unused function 'VC_GEE_ident' [-Wunused-function]
 1697 | static MATRIX *VC_GEE_ident(int ord){
      |                ^~~~~~~~~~~~
mgee2.c:1366:16: warning: unused function 'VC_GEE_extract_cols' [-Wunused-function]
 1366 | static MATRIX *VC_GEE_extract_cols(MATRIX *x, int VC_GEE_start, int end){
      |                ^~~~~~~~~~~~~~~~~~~
mgee2.c:1743:16: warning: unused function 'VC_GEE_diag_as_vec' [-Wunused-function]
 1743 | static MATRIX *VC_GEE_diag_as_vec(MATRIX *inmat){
      |                ^~~~~~~~~~~~~~~~~~
mgee2.c:1761:16: warning: unused function 'VC_GEE_matsqrt' [-Wunused-function]
 1761 | static MATRIX *VC_GEE_matsqrt(MATRIX *x){
      |                ^~~~~~~~~~~~~~
mgee2.c:1777:16: warning: unused function 'VC_GEE_mat1over' [-Wunused-function]
 1777 | static MATRIX *VC_GEE_mat1over(MATRIX *x){
      |                ^~~~~~~~~~~~~~~
mgee2.c:1493:15: warning: unused function 'VC_GEE_matmax' [-Wunused-function]
 1493 | static double VC_GEE_matmax(MATRIX *x){
      |               ^~~~~~~~~~~~~
mgee2.c:1463:15: warning: unused function 'VC_GEE_elsum' [-Wunused-function]
 1463 | static double VC_GEE_elsum(MATRIX *x)
      |               ^~~~~~~~~~~~
mgee2.c:1390:12: warning: unused function 'VC_GEE_split' [-Wunused-function]
 1390 | static int VC_GEE_split(MATRIX *matptr, MATRIX *discptr, MATRIX *matarrptr[]){
      |            ^~~~~~~~~~~~
mgee2.c:1720:12: warning: unused function 'VC_GEE_nchanges' [-Wunused-function]
 1720 | static int VC_GEE_nchanges(MATRIX *X){
      |            ^~~~~~~~~~~~~~~
mgee2.c:1794:16: warning: unused function 'get_seq1' [-Wunused-function]
 1794 | static MATRIX *get_seq1(int el_start, int end){
      |                ^~~~~~~~
mgee2.c:1809:16: warning: unused function 'get_rep_scalar' [-Wunused-function]
 1809 | static MATRIX *get_rep_scalar(int a, int nrep){
      |                ^~~~~~~~~~~~~~
mgee2.c:1823:16: warning: unused function 'get_rep' [-Wunused-function]
 1823 | static MATRIX *get_rep(MATRIX *x, int nrep){
      |                ^~~~~~~
mgee2.c:1843:16: warning: unused function 'get_kronecker' [-Wunused-function]
 1843 | static MATRIX *get_kronecker(MATRIX *x, MATRIX *y){
      |                ^~~~~~~~~~~~~
mgee2.c:1865:16: warning: unused function 'get_sum1row' [-Wunused-function]
 1865 | static MATRIX *get_sum1row(MATRIX *inmat){
      |                ^~~~~~~~~~~
mgee2.c:1891:16: warning: unused function 'get_sum2col' [-Wunused-function]
 1891 | static MATRIX *get_sum2col(MATRIX *inmat){
      |                ^~~~~~~~~~~
mgee2.c:1917:16: warning: unused function 'VC_GEE_matexpit' [-Wunused-function]
 1917 | static MATRIX *VC_GEE_matexpit(MATRIX *x){
      |                ^~~~~~~~~~~~~~~
mgee2.c:2094:16: warning: unused function 'get_cbind' [-Wunused-function]
 2094 | static MATRIX *get_cbind(MATRIX *mat1, MATRIX *mat2){
      |                ^~~~~~~~~
mgee2.c:2578:16: warning: unused function 'matrix_subtract' [-Wunused-function]
 2578 | static MATRIX *matrix_subtract(MATRIX *mat1, MATRIX *mat2)
      |                ^~~~~~~~~~~~~~~
mgee2.c:2604:16: warning: unused function 'matrix_multiply' [-Wunused-function]
 2604 | static MATRIX *matrix_multiply(MATRIX *mat1, MATRIX *mat2)
      |                ^~~~~~~~~~~~~~~
mgee2.c:3252:15: warning: unused function 'get_1_rowsum' [-Wunused-function]
 3252 | static double get_1_rowsum(MATRIX *X, int i)
      |               ^~~~~~~~~~~~
mgee2.c:2459:13: warning: unused function 'row_replace' [-Wunused-function]
 2459 | static void row_replace(MATRIX *inmat, int i, MATRIX *outmat, int j)
      |             ^~~~~~~~~~~
mgee2.c:2480:13: warning: unused function 'col_replace' [-Wunused-function]
 2480 | static void col_replace(MATRIX *inmat, int i, MATRIX *outmat, int j)
      |             ^~~~~~~~~~~
mgee2.c:2504:13: warning: unused function 'rows_plug' [-Wunused-function]
 2504 | static void rows_plug(MATRIX *inmat, int i1, int i2, MATRIX *outmat, int j)
      |             ^~~~~~~~~
mgee2.c:2752:13: warning: unused function 'get_matsub' [-Wunused-function]
 2752 | static void get_matsub(MATRIX *mat1,
      |             ^~~~~~~~~~
mgee2.c:2777:13: warning: unused function 'get_matadd' [-Wunused-function]
 2777 | static void get_matadd(MATRIX *mat1,
      |             ^~~~~~~~~~
mgee2.c:2819:13: warning: unused function 'get_matmult' [-Wunused-function]
 2819 | static void get_matmult(MATRIX *mat1,
      |             ^~~~~~~~~~~
mgee2.c:2635:13: warning: unused function 'matrix_elem_mult' [-Wunused-function]
 2635 | static void matrix_elem_mult(MATRIX *inmat, MATRIX *outmat)
      |             ^~~~~~~~~~~~~~~~
mgee2.c:2657:13: warning: unused function 'matrix_row_mult' [-Wunused-function]
 2657 | static void matrix_row_mult(MATRIX *rowvec, MATRIX *outmat) /* row vector times a matrix*/
      |             ^~~~~~~~~~~~~~~
mgee2.c:2682:13: warning: unused function 'matrix_col_mult' [-Wunused-function]
 2682 | static void matrix_col_mult(MATRIX *colvec, MATRIX *outmat) /* col vector times a matrix*/
      |             ^~~~~~~~~~~~~~~
mgee2.c:2914:13: warning: unused function 'outer_colvec_to' [-Wunused-function]
 2914 | static void outer_colvec_to(MATRIX *colvec,
      |             ^~~~~~~~~~~~~~~
43 warnings generated.
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c packagename_init.c -o packagename_init.o
/usr/local/clang18/bin/clang -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o mgee2.so mgee2.o packagename_init.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/mgee2/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/mgee2/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/mgee2/src'
installing to /data/gannet/ripley/R/packages/tests-clang/mgee2.Rcheck/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)