* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’ * installing *source* package ‘CaseBasedReasoning’ ... ** package ‘CaseBasedReasoning’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpGNoryy/R.INSTALLad25027daf1ed/CaseBasedReasoning/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -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 /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/tbb/tbb.h:32, from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/RcppParallel/TBB.h:10, from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/RcppParallel.h:24, from parallelFrameworks.h:6, from distanceAPI.h:8, from distanceAPI.cpp:1: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h: In instantiation of ‘tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = long unsigned int]’: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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; | ^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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*]’: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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 ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c distances.cpp -o distances.o In file included from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/tbb/tbb.h:32, from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/RcppParallel/TBB.h:10, from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/RcppParallel.h:24, from parallelFrameworks.h:6, from distanceAPI.h:8, from distances.cpp:4: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h: In instantiation of ‘tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = long unsigned int]’: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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; | ^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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*]’: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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 ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c order.cpp -o order.o In file included from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/tbb/tbb.h:32, from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/RcppParallel/TBB.h:10, from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/RcppParallel.h:24, from order.cpp:4: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h: In instantiation of ‘tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = long unsigned int]’: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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; | ^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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*]’: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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 ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c weightedKNN.cpp -o weightedKNN.o g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o CaseBasedReasoning.so RcppExports.o distanceAPI.o distances.o order.o weightedKNN.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpGNoryy/R.INSTALLad25027daf1ed/CaseBasedReasoning/src' make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpGNoryy/R.INSTALLad25027daf1ed/CaseBasedReasoning/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpGNoryy/R.INSTALLad25027daf1ed/CaseBasedReasoning/src' installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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)