* installing *source* package ‘ecr’ ...
** this is package ‘ecr’ version ‘2.1.1’
** package ‘ecr’ 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/ecr/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 RcppExports.cpp -o RcppExports.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 -DVARIANT=4 -c -o avl.o avl.c
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 computeHypervolume.c -o computeHypervolume.o
In file included from computeHypervolume.c:4:
computeHypervolume.c: In function ‘computeHVC’:
computeHypervolume.c:18:52: warning: unused variable ‘len_ref’ [-Wunused-variable]
18 | EXTRACT_NUMERIC_VECTOR(r_ref_point, c_ref_point, len_ref);
| ^~~~~~~
macros.h:16:19: note: in definition of macro ‘EXTRACT_NUMERIC_VECTOR’
16 | const R_len_t LENGTH = length(S_EXP);
| ^~~~~~
computeHypervolume.c: In function ‘computeHVContributionC’:
computeHypervolume.c:44:52: warning: unused variable ‘n_ref_point’ [-Wunused-variable]
44 | EXTRACT_NUMERIC_VECTOR(r_ref_point, c_ref_point, n_ref_point);
| ^~~~~~~~~~~
macros.h:16:19: note: in definition of macro ‘EXTRACT_NUMERIC_VECTOR’
16 | const R_len_t LENGTH = length(S_EXP);
| ^~~~~~
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 crowdingDistance.c -o crowdingDistance.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 dominance.c -o dominance.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 emoa.indicators.cpp -o emoa.indicators.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 eps_ind.c -o eps_ind.o
In file included from eps_ind.c:38:
eps_ind.c: In function ‘emoaIndEpsC’:
eps_ind.c:112:52: warning: unused variable ‘n_ref_objectives’ [-Wunused-variable]
112 | EXTRACT_NUMERIC_MATRIX(ref_points, c_ref_points, n_ref_objectives, n_ref_points);
| ^~~~~~~~~~~~~~~~
macros.h:11:19: note: in definition of macro ‘EXTRACT_NUMERIC_MATRIX’
11 | const R_len_t N_ROW = nrows(S_EXP); \
| ^~~~~
eps_ind.c:64:16: warning: ‘eps_j’ may be used uninitialized [-Wmaybe-uninitialized]
64 | double eps, eps_j, eps_k, eps_temp;
| ^~~~~
In file included from eps_ind.c:36:
/data/gannet/ripley/R/R-devel/include/Rinternals.h:1045:33: warning: ‘eps’ may be used uninitialized [-Wmaybe-uninitialized]
1045 | #define ScalarReal Rf_ScalarReal
eps_ind.c:120:10: note: in expansion of macro ‘ScalarReal’
120 | return ScalarReal(eps_ind);
| ^~~~~~~~~~
eps_ind.c:64:11: note: ‘eps’ was declared here
64 | double eps, eps_j, eps_k, eps_temp;
| ^~~
eps_ind.c:64:23: warning: ‘eps_k’ may be used uninitialized [-Wmaybe-uninitialized]
64 | double eps, eps_j, eps_k, eps_temp;
| ^~~~~
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 helpers.c -o helpers.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 -DVARIANT=4 -c -o hv.o hv.c
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 polynomialMutation.c -o polynomialMutation.o
In file included from polynomialMutation.c:4:
polynomialMutation.c: In function ‘polynomialMutationC’:
polynomialMutation.c:29:42: warning: unused variable ‘c_upper_length’ [-Wunused-variable]
29 | EXTRACT_NUMERIC_VECTOR(upper, c_upper, c_upper_length);
| ^~~~~~~~~~~~~~
macros.h:16:19: note: in definition of macro ‘EXTRACT_NUMERIC_VECTOR’
16 | const R_len_t LENGTH = length(S_EXP);
| ^~~~~~
polynomialMutation.c:28:42: warning: unused variable ‘c_lower_length’ [-Wunused-variable]
28 | EXTRACT_NUMERIC_VECTOR(lower, c_lower, c_lower_length);
| ^~~~~~~~~~~~~~
macros.h:16:19: note: in definition of macro ‘EXTRACT_NUMERIC_VECTOR’
16 | const R_len_t LENGTH = length(S_EXP);
| ^~~~~~
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 r_ind.c -o r_ind.o
In file included from r_ind.c:35:
r_ind.c: In function ‘do_unary_r2_ind’:
r_ind.c:197:44: warning: unused variable ‘n_ideal’ [-Wunused-variable]
197 | EXTRACT_NUMERIC_VECTOR(s_ideal, ideal, n_ideal);
| ^~~~~~~
macros.h:16:19: note: in definition of macro ‘EXTRACT_NUMERIC_VECTOR’
16 | const R_len_t LENGTH = length(S_EXP);
| ^~~~~~
r_ind.c:196:48: warning: unused variable ‘k_weights’ [-Wunused-variable]
196 | EXTRACT_NUMERIC_MATRIX(s_weights, weights, k_weights, n_weights);
| ^~~~~~~~~
macros.h:11:19: note: in definition of macro ‘EXTRACT_NUMERIC_MATRIX’
11 | const R_len_t N_ROW = nrows(S_EXP); \
| ^~~~~
r_ind.c: In function ‘computeRIndicatorC’:
r_ind.c:242:44: warning: unused variable ‘n_nadir’ [-Wunused-variable]
242 | EXTRACT_NUMERIC_VECTOR(s_nadir, nadir, n_nadir);
| ^~~~~~~
macros.h:16:19: note: in definition of macro ‘EXTRACT_NUMERIC_VECTOR’
16 | const R_len_t LENGTH = length(S_EXP);
| ^~~~~~
r_ind.c:241:44: warning: unused variable ‘n_ideal’ [-Wunused-variable]
241 | EXTRACT_NUMERIC_VECTOR(s_ideal, ideal, n_ideal);
| ^~~~~~~
macros.h:16:19: note: in definition of macro ‘EXTRACT_NUMERIC_VECTOR’
16 | const R_len_t LENGTH = length(S_EXP);
| ^~~~~~
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/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 simulatedBinaryCrossover.c -o simulatedBinaryCrossover.o
In file included from simulatedBinaryCrossover.c:4:
simulatedBinaryCrossover.c: In function ‘simulatedBinaryCrossoverC’:
simulatedBinaryCrossover.c:50:42: warning: unused variable ‘c_upper_length’ [-Wunused-variable]
50 | EXTRACT_NUMERIC_VECTOR(upper, c_upper, c_upper_length);
| ^~~~~~~~~~~~~~
macros.h:16:19: note: in definition of macro ‘EXTRACT_NUMERIC_VECTOR’
16 | const R_len_t LENGTH = length(S_EXP);
| ^~~~~~
simulatedBinaryCrossover.c:49:42: warning: unused variable ‘c_lower_length’ [-Wunused-variable]
49 | EXTRACT_NUMERIC_VECTOR(lower, c_lower, c_lower_length);
| ^~~~~~~~~~~~~~
macros.h:16:19: note: in definition of macro ‘EXTRACT_NUMERIC_VECTOR’
16 | const R_len_t LENGTH = length(S_EXP);
| ^~~~~~
simulatedBinaryCrossover.c:46:49: warning: unused variable ‘n’ [-Wunused-variable]
46 | EXTRACT_NUMERIC_MATRIX(parents, c_parents, d, n);
| ^
macros.h:12:19: note: in definition of macro ‘EXTRACT_NUMERIC_MATRIX’
12 | const R_len_t N_COL = ncols(S_EXP);
| ^~~~~
g++ -std=gnu++17 -shared -L/usr/local/lib64 -o ecr.so RcppExports.o avl.o computeHypervolume.o crowdingDistance.o dominance.o emoa.indicators.o eps_ind.o helpers.o hv.o polynomialMutation.o r_ind.o simulatedBinaryCrossover.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/ecr/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/ecr/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/ecr/src'
installing to /data/gannet/ripley/R/packages/tests-devel/ecr.Rcheck/00LOCK-ecr/00new/ecr/libs
** R
** data
*** moving datasets to lazyload DB
** 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 (ecr)