* installing *source* package ‘CaseBasedReasoning’ ... ** package ‘CaseBasedReasoning’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c distanceAPI.cpp -o distanceAPI.o distanceAPI.cpp:46:7: warning: unused variable 'ncols' [-Wunused-variable] int ncols = y.n_rows; ^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:5: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include/RcppCommon.h:30: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include/Rcpp/r/headers.h:62: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include/Rcpp/platform/compiler.h:153: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/unordered_map:411: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__hash_table:15: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:5: warning: destructor called on non-final 'rangerProximity' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] __data_.second().~_Tp(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3296:9: note: in instantiation of member function 'std::__shared_ptr_emplace<rangerProximity, std::allocator<rangerProximity>>::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<rangerProximity, std::allocator<rangerProximity>>::__shared_ptr_emplace<rangerProximity &>' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ distanceAPI.cpp:73:16: note: in instantiation of function template specialization 'std::make_shared<rangerProximity, rangerProximity &>' requested here dist_ = std::make_shared<rangerProximity>(dist); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:3318:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^ 2 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c distances.cpp -o distances.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c order.cpp -o order.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c weightedKNN.cpp -o weightedKNN.o clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o CaseBasedReasoning.so RcppExports.o distanceAPI.o distances.o order.o weightedKNN.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/CaseBasedReasoning.Rcheck/00LOCK-CaseBasedReasoning/00new/CaseBasedReasoning/libs ** generating debug symbols (dSYM) ** 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)