* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘CaseBasedReasoning’ ...
** this is package ‘CaseBasedReasoning’ version ‘0.3’
** package ‘CaseBasedReasoning’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 19.1.7 (7)’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmppeyzwi/R.INSTALL12c03b1e4e4b61/CaseBasedReasoning/src'
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c RcppExports.cpp -o RcppExports.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c distanceAPI.cpp -o distanceAPI.o
In file included from distanceAPI.cpp:1:
In file included from ./distanceAPI.h:7:
./distance/distance.h:60:17: warning: variable 'nTree' set but not used [-Wunused-but-set-variable]
60 | std::size_t nTree = 0;
| ^
distanceAPI.cpp:46:7: warning: unused variable 'ncols' [-Wunused-variable]
46 | int ncols = y.n_rows;
| ^~~~~
In file included from distanceAPI.cpp:1:
In file included from ./distanceAPI.h:5:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:30:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/platform/compiler.h:39:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:33:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/hashtable.h:37:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/hashtable_policy.h:39:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/ext/alloc_traits.h:36:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:33:
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:7: warning: destructor called on non-final 'rangerProximity' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
166 | __pointer->~_Tp();
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:819:9: note: in instantiation of function template specialization 'std::_Destroy<rangerProximity>' requested here
819 | { std::_Destroy(__p); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:615:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<rangerProximity>' requested here
615 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:601:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<rangerProximity, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
601 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<rangerProximity, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<rangerProximity &>' requested here
970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1719:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<rangerProximity, std::allocator<void>, rangerProximity &>' requested here
1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<rangerProximity>::__shared_ptr<std::allocator<void>, rangerProximity &>' requested here
463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr<rangerProximity>::shared_ptr<std::allocator<void>, rangerProximity &>' requested here
1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
| ^
distanceAPI.cpp:73:16: note: in instantiation of function template specialization 'std::make_shared<rangerProximity, rangerProximity &>' requested here
73 | dist_ = std::make_shared<rangerProximity>(dist);
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:166:19: note: qualify call to silence this warning
166 | __pointer->~_Tp();
| ^
3 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c distances.cpp -o distances.o
In file included from distances.cpp:4:
In file included from ./distanceAPI.h:7:
./distance/distance.h:60:17: warning: variable 'nTree' set but not used [-Wunused-but-set-variable]
60 | std::size_t nTree = 0;
| ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c order.cpp -o order.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c weightedKNN.cpp -o weightedKNN.o
clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/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-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmppeyzwi/R.INSTALL12c03b1e4e4b61/CaseBasedReasoning/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmppeyzwi/R.INSTALL12c03b1e4e4b61/CaseBasedReasoning/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmppeyzwi/R.INSTALL12c03b1e4e4b61/CaseBasedReasoning/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/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)