* installing *source* package ‘GiniDistance’ ...
** this is package ‘GiniDistance’ version ‘0.1.1’
** package ‘GiniDistance’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
Warning in system2("xcrun", "--show-sdk-version", TRUE, TRUE) :
running command ''xcrun' --show-sdk-version 2>&1' had status 1
using SDK: ‘NA’
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c GiniFunctions.cpp -o GiniFunctions.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
GiniFunctions.cpp:59:14: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'Rcpp::MatrixRow<14>::iter_base<Rcpp::MatrixRow<14>::iter_traits>' and 'Rcpp::MatrixRow<14>::iter_base<Rcpp::MatrixRow<14>::iter_traits>') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
while (it1 != end1) {
~~~ ^ ~~~~
GiniFunctions.cpp:125:19: note: in instantiation of function template specialization 'EuclideanDistance<Rcpp::MatrixRow<14>::iter_base<Rcpp::MatrixRow<14>::iter_traits>, Rcpp::MatrixRow<14>::iter_base<Rcpp::MatrixRow<14>::iter_traits>>' requested here
rmat(i,j) = EuclideanDistance(row1.begin(), row1.end(), row2.begin());
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/MatrixRow.h:111:14: note: candidate function with non-reversed arguments
bool operator!=( const iter_base& other) { return index != other.index ; }
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/MatrixRow.h:110:14: note: ambiguous candidate function with reversed arguments
bool operator==( const iter_base& other) { return index == other.index ; }
^
1 warning generated.
clang++ -arch x86_64 -std=gnu++20 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o GiniDistance.so GiniFunctions.o RcppExports.o -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.6/GiniDistance.Rcheck/00LOCK-GiniDistance/00new/GiniDistance/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (GiniDistance)