* installing *source* package ‘MediaK’ ...
** package ‘MediaK’ 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/MediaK/src'
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c MediaK.cpp -o MediaK.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from MediaK.cpp:3:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from MediaK.cpp:3:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from MediaK.cpp:3:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from MediaK.cpp:3:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
MediaK.cpp:44:5: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
   44 |     for(int i =0;i<C.rows();i++)
      |     ^
MediaK.cpp:36:3: note: previous statement is here
   36 |   for(int Mrow = 0;Mrow<(C.rows()-1);Mrow++)
      |   ^
MediaK.cpp:52:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
   52 |       for(int i = 0;i<Distance.rows();i++)
      |       ^
MediaK.cpp:44:5: note: previous statement is here
   44 |     for(int i =0;i<C.rows();i++)
      |     ^
MediaK.cpp:69:11: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
   69 |           mean = distance/(select * Distance.cols());
      |           ^
MediaK.cpp:64:9: note: previous statement is here
   64 |         for(int i = 1;i< select+1;i++)
      |         ^
MediaK.cpp:144:5: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  144 |     for(int i =0;i<C.rows();i++)
      |     ^
MediaK.cpp:137:3: note: previous statement is here
  137 |   for(int Mrow = 0;Mrow<(C.rows()-1);Mrow++)
      |   ^
MediaK.cpp:154:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  154 |       for(int i = 0;i<Distance.rows();i++)
      |       ^
MediaK.cpp:144:5: note: previous statement is here
  144 |     for(int i =0;i<C.rows();i++)
      |     ^
MediaK.cpp:172:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  172 |       mean = distance/(select1 * row);
      |       ^
MediaK.cpp:167:5: note: previous statement is here
  167 |     for(int i = 1;i<select1+1;i++)
      |     ^
5 warnings generated.
11 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -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 MediaK.so MediaK.o RcppExports.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/MediaK/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/MediaK/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/MediaK/src'
installing to /data/gannet/ripley/R/packages/tests-clang/MediaK.Rcheck/00LOCK-MediaK/00new/MediaK/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 (MediaK)