* installing *source* package 'coreCollection' ...
** package 'coreCollection' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpwxD2OE/R.INSTALLf36c7b77292e/coreCollection/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c CoreAlgorithm.cpp -o CoreAlgorithm.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c CoreAlgorithmRandomDescent.cpp -o CoreAlgorithmRandomDescent.o
CoreAlgorithmRandomDescent.cpp: In member function 'virtual Rcpp::IntegerVector CoreAlgorithmRandomDescent::getCore(CoreMethod&)':
CoreAlgorithmRandomDescent.cpp:10:7: warning: unused variable 'steps' [-Wunused-variable]
   10 |   int steps=0;
      |       ^~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c CoreCollection.cpp -o CoreCollection.o
CoreCollection.cpp: In function 'Rcpp::IntegerVector computeCore(std::string, std::string, Rcpp::NumericMatrix&, Rcpp::List&)':
CoreCollection.cpp:147:3: warning: deleting object of polymorphic class type 'CoreMethod' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
  147 |   delete m;
      |   ^~~~~~~~
CoreCollection.cpp:148:3: warning: deleting object of polymorphic class type 'CoreAlgorithm' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
  148 |   delete a;
      |   ^~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c CoreMethod.cpp -o CoreMethod.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c CoreMethodAccessionNearestEntry.cpp -o CoreMethodAccessionNearestEntry.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c CoreMethodEntryEntry.cpp -o CoreMethodEntryEntry.o
CoreMethodEntryEntry.cpp: In member function 'virtual Rcpp::IntegerVector CoreMethodEntryEntry::adjustRandomNeighbour(Rcpp::IntegerVector, int)':
CoreMethodEntryEntry.cpp:7:76: warning: unused variable 'l' [-Wunused-variable]
    7 |   int nl, n = selectedRandomPositions.length(), N = distanceMatrix.nrow(), l=c.length();
      |                                                                            ^
CoreMethodEntryEntry.cpp: In static member function 'static double CoreMethodEntryEntry::measure(Rcpp::NumericMatrix&, Rcpp::IntegerVector&)':
CoreMethodEntryEntry.cpp:73:10: warning: unused variable 'd' [-Wunused-variable]
   73 |   double d, nd, sumOfDistances = 0.0;
      |          ^
CoreMethodEntryEntry.cpp:73:13: warning: unused variable 'nd' [-Wunused-variable]
   73 |   double d, nd, sumOfDistances = 0.0;
      |             ^~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c CoreMethodEntryNearestEntry.cpp -o CoreMethodEntryNearestEntry.o
CoreMethodEntryNearestEntry.cpp: In member function 'virtual Rcpp::IntegerVector CoreMethodEntryNearestEntry::adjustRandomNeighbour(Rcpp::IntegerVector, int)':
CoreMethodEntryNearestEntry.cpp:7:76: warning: unused variable 'l' [-Wunused-variable]
    7 |   int nl, n = selectedRandomPositions.length(), N = distanceMatrix.nrow(), l=c.length();
      |                                                                            ^
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c CoreSelection.cpp -o CoreSelection.o
CoreSelection.cpp: In static member function 'static Rcpp::IntegerVector CoreSelection::computeRandomSelection(Rcpp::NumericMatrix&, int, Rcpp::IntegerVector&)':
CoreSelection.cpp:141:7: warning: unused variable 'N' [-Wunused-variable]
  141 |   int N = dist.nrow();
      |       ^
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17 -shared -s -static-libgcc -o coreCollection.dll tmp.def CoreAlgorithm.o CoreAlgorithmRandomDescent.o CoreCollection.o CoreMethod.o CoreMethodAccessionNearestEntry.o CoreMethodEntryEntry.o CoreMethodEntryNearestEntry.o CoreSelection.o RcppExports.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpwxD2OE/R.INSTALLf36c7b77292e/coreCollection/src'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpwxD2OE/R.INSTALLf36c7b77292e/coreCollection/src'
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpwxD2OE/R.INSTALLf36c7b77292e/coreCollection/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-coreCollection/00new/coreCollection/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'coreCollection' as coreCollection_0.9.5.zip
* DONE (coreCollection)