* installing *source* package ‘CaseBasedReasoning’ ...
** package ‘CaseBasedReasoning’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (GCC) 14.1.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/CaseBasedReasoning/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/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/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++-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/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/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 distanceAPI.cpp -o distanceAPI.o
distanceAPI.cpp: In member function 'arma::mat weightedXYDistanceAPI::calculate_distance(arma::mat&, arma::mat&)':
distanceAPI.cpp:46:7: warning: unused variable 'ncols' [-Wunused-variable]
   46 |   int ncols = y.n_rows;
      |       ^~~~~
In file included from /data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/tbb.h:32,
                 from /data/gannet/ripley/R/test-dev/RcppParallel/include/RcppParallel/TBB.h:10,
                 from /data/gannet/ripley/R/test-dev/RcppParallel/include/RcppParallel.h:24,
                 from parallelFrameworks.h:6,
                 from distanceAPI.h:8,
                 from distanceAPI.cpp:1:
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h: In instantiation of 'tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = long unsigned int]':
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/tbb_thread.h:251:29:   required from here
  251 |             return as_atomic(location.my_id).compare_and_swap(value.my_id, comparand.my_id);
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h:544:12: warning: casting 'long unsigned int' to 'tbb::atomic<long unsigned int>&' does not use 'constexpr tbb::atomic<long unsigned int>::atomic(long unsigned int)' [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h: In instantiation of 'tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = tbb::interface5::internal::hash_map_base::bucket*]':
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/concurrent_hash_map.h:291:31:   required from here
  291 |                   && as_atomic(my_table[new_seg]).compare_and_swap(is_allocating, NULL) == NULL )
      |                      ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h:544:12: warning: casting 'tbb::interface5::internal::hash_map_base::bucket*' to 'tbb::atomic<tbb::interface5::internal::hash_map_base::bucket*>&' does not use 'constexpr tbb::atomic<T*>::atomic(T*) [with T = tbb::interface5::internal::hash_map_base::bucket]' [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
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/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/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 distances.cpp -o distances.o
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/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/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 order.cpp -o order.o
In file included from /data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/tbb.h:32,
                 from /data/gannet/ripley/R/test-dev/RcppParallel/include/RcppParallel/TBB.h:10,
                 from /data/gannet/ripley/R/test-dev/RcppParallel/include/RcppParallel.h:24,
                 from parallelFrameworks.h:6,
                 from distanceAPI.h:8,
                 from distances.cpp:4:
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h: In instantiation of 'tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = long unsigned int]':
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/tbb_thread.h:251:29:   required from here
  251 |             return as_atomic(location.my_id).compare_and_swap(value.my_id, comparand.my_id);
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h:544:12: warning: casting 'long unsigned int' to 'tbb::atomic<long unsigned int>&' does not use 'constexpr tbb::atomic<long unsigned int>::atomic(long unsigned int)' [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h: In instantiation of 'tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = tbb::interface5::internal::hash_map_base::bucket*]':
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/concurrent_hash_map.h:291:31:   required from here
  291 |                   && as_atomic(my_table[new_seg]).compare_and_swap(is_allocating, NULL) == NULL )
      |                      ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h:544:12: warning: casting 'tbb::interface5::internal::hash_map_base::bucket*' to 'tbb::atomic<tbb::interface5::internal::hash_map_base::bucket*>&' does not use 'constexpr tbb::atomic<T*>::atomic(T*) [with T = tbb::interface5::internal::hash_map_base::bucket]' [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/tbb.h:32,
                 from /data/gannet/ripley/R/test-dev/RcppParallel/include/RcppParallel/TBB.h:10,
                 from /data/gannet/ripley/R/test-dev/RcppParallel/include/RcppParallel.h:24,
                 from order.cpp:4:
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h: In instantiation of 'tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = long unsigned int]':
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/tbb_thread.h:251:29:   required from here
  251 |             return as_atomic(location.my_id).compare_and_swap(value.my_id, comparand.my_id);
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h:544:12: warning: casting 'long unsigned int' to 'tbb::atomic<long unsigned int>&' does not use 'constexpr tbb::atomic<long unsigned int>::atomic(long unsigned int)' [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h: In instantiation of 'tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = tbb::interface5::internal::hash_map_base::bucket*]':
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/concurrent_hash_map.h:291:31:   required from here
  291 |                   && as_atomic(my_table[new_seg]).compare_and_swap(is_allocating, NULL) == NULL )
      |                      ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppParallel/include/tbb/atomic.h:544:12: warning: casting 'tbb::interface5::internal::hash_map_base::bucket*' to 'tbb::atomic<tbb::interface5::internal::hash_map_base::bucket*>&' does not use 'constexpr tbb::atomic<T*>::atomic(T*) [with T = tbb::interface5::internal::hash_map_base::bucket]' [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
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/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/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 weightedKNN.cpp -o weightedKNN.o
g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o CaseBasedReasoning.so RcppExports.o distanceAPI.o distances.o order.o weightedKNN.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/CaseBasedReasoning/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/CaseBasedReasoning/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/CaseBasedReasoning/src'
installing to /data/gannet/ripley/R/packages/tests-devel/CaseBasedReasoning.Rcheck/00LOCK-CaseBasedReasoning/00new/CaseBasedReasoning/libs
** R
** 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 (CaseBasedReasoning)