* installing *source* package ‘Rankcluster’ ...
** this is package ‘Rankcluster’ version ‘0.98.0’
** package ‘Rankcluster’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/Rankcluster/src'
g++ -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 -c ISRfunctions.cpp -o ISRfunctions.o
g++ -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 -c RankCluster.cpp -o RankCluster.o
RankCluster.cpp: In member function ‘void RankCluster::run()’:
RankCluster.cpp:1323:7: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
1323 | for (int j = 0; j < d_; j++)
| ^~~
RankCluster.cpp:1333:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
1333 | convergence_ = true;
| ^~~~~~~~~~~~
gcc -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 -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c Rankcluster_init.c -o Rankcluster_init.o
g++ -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 -c RinterfaceFunctions.cpp -o RinterfaceFunctions.o
RinterfaceFunctions.cpp: In function ‘SEXPREC* loglikelihood(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
RinterfaceFunctions.cpp:109:9: warning: unused variable ‘nb’ [-Wunused-variable]
109 | int nb = as<int>(nb_cpus);
| ^~
g++ -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 -c RinterfaceSEM.cpp -o RinterfaceSEM.o
g++ -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 -c RinterfaceTest.cpp -o RinterfaceTest.o
g++ -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 -c functions.cpp -o functions.o
functions.cpp: In function ‘std::vector<int> rank2index(const std::vector<std::vector<int> >&, const std::vector<int>&)’:
functions.cpp:101:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
101 | for (size_t i = 0; i < n; i++)
| ~~^~~
functions.cpp: In function ‘int distanceKendall(const Rank&, const Rank&)’:
functions.cpp:235:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
235 | for (int j(i + 1); j < m; j++)
| ^~~
functions.cpp:239:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
239 | return distK;
| ^~~~~~
functions.cpp: In function ‘int sampleMultinomial(const Eigen::ArrayXd&)’:
functions.cpp:455:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
455 | for (int j = 0; j < g; j++)
| ^~~
functions.cpp:459:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
459 | return g - 1;
| ^~~~~~
g++ -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 -c test.cpp -o test.o
g++ -std=gnu++17 -shared -L/usr/local/lib64 -o Rankcluster.so ISRfunctions.o RankCluster.o Rankcluster_init.o RinterfaceFunctions.o RinterfaceSEM.o RinterfaceTest.o functions.o test.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/Rankcluster/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/Rankcluster/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/Rankcluster/src'
installing to /data/gannet/ripley/R/packages/tests-devel/Rankcluster.Rcheck/00LOCK-Rankcluster/00new/Rankcluster/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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 (Rankcluster)