* installing *source* package ‘KODAMA’ ...
** package ‘KODAMA’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (GCC) 13.2.0’
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/KODAMA/src'
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 ANN.cpp -o ANN.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 bd_fix_rad_search.cpp -o bd_fix_rad_search.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 bd_pr_search.cpp -o bd_pr_search.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 bd_search.cpp -o bd_search.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 bd_tree.cpp -o bd_tree.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 brute.cpp -o brute.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 cmeans.c -o cmeans.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 cshell.c -o cshell.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 floyd.c -o floyd.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 kd_dump.cpp -o kd_dump.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 kd_fix_rad_search.cpp -o kd_fix_rad_search.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 kd_pr_search.cpp -o kd_pr_search.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 kd_search.cpp -o kd_search.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 kd_split.cpp -o kd_split.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 kd_tree.cpp -o kd_tree.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 kd_util.cpp -o kd_util.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 prova.cpp -o prova.o
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -IANN -DRANN -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/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 registerDynamicSymbol.c -o registerDynamicSymbol.o
In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:188,
                 from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
                 from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:29,
                 from prova.cpp:19:
In function 'SEXPREC* Rcpp::internal::primitive_wrap__impl__cast(const T&, Rcpp::traits::false_type) [with T = double]',
    inlined from 'SEXPREC* Rcpp::internal::primitive_wrap__impl(const T&, Rcpp::traits::r_type_primitive_tag) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:465:46,
    inlined from 'SEXPREC* Rcpp::internal::primitive_wrap(const T&) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:489:40,
    inlined from 'SEXPREC* Rcpp::internal::wrap_dispatch(const T&, Rcpp::traits::wrap_type_primitive_tag) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:744:34,
    inlined from 'SEXPREC* Rcpp::wrap(const T&) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap_end.h:30:38,
    inlined from 'static SEXPREC* Rcpp::internal::generic_element_converter<RTYPE>::get(const T&) [with T = double; int RTYPE = 19]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/converter.h:80:23,
    inlined from 'static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element__dispatch__isArgument(Rcpp::traits::false_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<double>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/Vector.h:532:13,
    inlined from 'static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element__dispatch(Rcpp::traits::true_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<double>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/Vector.h:525:46,
    inlined from 'static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element(iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<double>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/Vector.h:514:34,
    inlined from 'static Rcpp::Vector<RTYPE, StoragePolicy> Rcpp::Vector<RTYPE, StoragePolicy>::create__dispatch(Rcpp::traits::true_type, const T1&, const T2&, const T3&, const T4&, const T5&) [with T1 = Rcpp::traits::named_object<arma::Col<double> >; T2 = Rcpp::traits::named_object<arma::Col<double> >; T3 = Rcpp::traits::named_object<double>; T4 = Rcpp::traits::named_object<double>; T5 = Rcpp::traits::named_object<int>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/generated/Vector__create.h:278:24,
    inlined from 'static Rcpp::Vector<RTYPE, StoragePolicy> Rcpp::Vector<RTYPE, StoragePolicy>::create(const T1&, const T2&, const T3&, const T4&, const T5&) [with T1 = Rcpp::traits::named_object<arma::Col<double> >; T2 = Rcpp::traits::named_object<arma::Col<double> >; T3 = Rcpp::traits::named_object<double>; T4 = Rcpp::traits::named_object<double>; T5 = Rcpp::traits::named_object<int>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/generated/Vector__create.h:247:33,
    inlined from 'Rcpp::List double_knn_cv(arma::mat, arma::vec, arma::ivec, int, int, int, int, int)' at prova.cpp:1501:3:
/data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:442:41: warning: 'Q2Y' may be used uninitialized [-Wmaybe-uninitialized]
  442 |             r_vector_start<RTYPE>(x)[0] = object;
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
prova.cpp: In function 'Rcpp::List double_knn_cv(arma::mat, arma::vec, arma::ivec, int, int, int, int, int)':
prova.cpp:1435:10: note: 'Q2Y' was declared here
 1435 |   double Q2Y;
      |          ^~~
In function 'SEXPREC* Rcpp::internal::primitive_wrap__impl__cast(const T&, Rcpp::traits::false_type) [with T = double]',
    inlined from 'SEXPREC* Rcpp::internal::primitive_wrap__impl(const T&, Rcpp::traits::r_type_primitive_tag) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:465:46,
    inlined from 'SEXPREC* Rcpp::internal::primitive_wrap(const T&) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:489:40,
    inlined from 'SEXPREC* Rcpp::internal::wrap_dispatch(const T&, Rcpp::traits::wrap_type_primitive_tag) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:744:34,
    inlined from 'SEXPREC* Rcpp::wrap(const T&) [with T = double]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap_end.h:30:38,
    inlined from 'static SEXPREC* Rcpp::internal::generic_element_converter<RTYPE>::get(const T&) [with T = double; int RTYPE = 19]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/converter.h:80:23,
    inlined from 'static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element__dispatch__isArgument(Rcpp::traits::false_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<double>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/Vector.h:532:13,
    inlined from 'static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element__dispatch(Rcpp::traits::true_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<double>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/Vector.h:525:46,
    inlined from 'static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element(iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<double>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/vector/Vector.h:514:34,
    inlined from 'static Rcpp::Vector<RTYPE, StoragePolicy> Rcpp::Vector<RTYPE, StoragePolicy>::create__dispatch(Rcpp::traits::true_type, const T1&, const T2&, const T3&, const T4&, const T5&) [with T1 = Rcpp::traits::named_object<arma::Col<double> >; T2 = Rcpp::traits::named_object<arma::Col<double> >; T3 = Rcpp::traits::named_object<double>; T4 = Rcpp::traits::named_object<double>; T5 = Rcpp::traits::named_object<int>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/generated/Vector__create.h:279:24,
    inlined from 'static Rcpp::Vector<RTYPE, StoragePolicy> Rcpp::Vector<RTYPE, StoragePolicy>::create(const T1&, const T2&, const T3&, const T4&, const T5&) [with T1 = Rcpp::traits::named_object<arma::Col<double> >; T2 = Rcpp::traits::named_object<arma::Col<double> >; T3 = Rcpp::traits::named_object<double>; T4 = Rcpp::traits::named_object<double>; T5 = Rcpp::traits::named_object<int>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/generated/Vector__create.h:247:33,
    inlined from 'Rcpp::List double_knn_cv(arma::mat, arma::vec, arma::ivec, int, int, int, int, int)' at prova.cpp:1501:3:
/data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/internal/wrap.h:442:41: warning: 'R2Y' may be used uninitialized [-Wmaybe-uninitialized]
  442 |             r_vector_start<RTYPE>(x)[0] = object;
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
prova.cpp: In function 'Rcpp::List double_knn_cv(arma::mat, arma::vec, arma::ivec, int, int, int, int, int)':
prova.cpp:1436:10: note: 'R2Y' was declared here
 1436 |   double R2Y;
      |          ^~~
g++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o KODAMA.so ANN.o RcppExports.o bd_fix_rad_search.o bd_pr_search.o bd_search.o bd_tree.o brute.o cmeans.o cshell.o floyd.o kd_dump.o kd_fix_rad_search.o kd_pr_search.o kd_search.o kd_split.o kd_tree.o kd_util.o prova.o registerDynamicSymbol.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/KODAMA/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/KODAMA/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/KODAMA/src'
installing to /data/gannet/ripley/R/packages/tests-devel/KODAMA.Rcheck/00LOCK-KODAMA/00new/KODAMA/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 (KODAMA)