* installing *source* package ‘MediaK’ ...
** package ‘MediaK’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (GCC) 14.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/MediaK/src'
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c MediaK.cpp -o MediaK.o
MediaK.cpp: In function 'double calculate(Eigen::MatrixXd, int)':
MediaK.cpp:36:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   36 |   for(int Mrow = 0;Mrow<(C.rows()-1);Mrow++)
      |   ^~~
MediaK.cpp:44:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   44 |     for(int i =0;i<C.rows();i++)
      |     ^~~
MediaK.cpp:44:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
MediaK.cpp:52:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   52 |       for(int i = 0;i<Distance.rows();i++)
      |       ^~~
MediaK.cpp:64:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   64 |         for(int i = 1;i< select+1;i++)
      |         ^~~
MediaK.cpp:69:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   69 |           mean = distance/(select * Distance.cols());
      |           ^~~~
MediaK.cpp: In function 'double dis_value(Eigen::MatrixXd, Eigen::MatrixXd, SEXP)':
MediaK.cpp:137:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  137 |   for(int Mrow = 0;Mrow<(C.rows()-1);Mrow++)
      |   ^~~
MediaK.cpp:144:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  144 |     for(int i =0;i<C.rows();i++)
      |     ^~~
MediaK.cpp:144:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
MediaK.cpp:154:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  154 |       for(int i = 0;i<Distance.rows();i++)
      |       ^~~
MediaK.cpp:167:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  167 |     for(int i = 1;i<select1+1;i++)
      |     ^~~
MediaK.cpp:172:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  172 |       mean = distance/(select1 * row);
      |       ^~~~
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o MediaK.so MediaK.o RcppExports.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/MediaK/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/MediaK/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/MediaK/src'
installing to /data/gannet/ripley/R/packages/tests-devel/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)