* installing *source* package 'RcppHungarian' ...
** this is package 'RcppHungarian' version '0.3'
** package 'RcppHungarian' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpY1m29y/R.INSTALL149986b46641b/RcppHungarian/src'
g++ -std=gnu++20  -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
../inst/include/RcppHungarian.h: In member function 'void HungarianAlgorithm::assignmentoptimal(int*, double*, double*, int, int)':
../inst/include/RcppHungarian.h:169:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  169 |           if (fabs(distMatrix[row + nOfRows*col]) < DBL_EPSILON)
      |           ^~
../inst/include/RcppHungarian.h:177:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  177 |             for (row = 0; row<nOfRows; row++)
      |             ^~~
../inst/include/RcppHungarian.h: In member function 'void HungarianAlgorithm::step2b(int*, double*, bool*, bool*, bool*, bool*, bool*, int, int, int)':
../inst/include/RcppHungarian.h:254:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  254 |     for (col = 0; col<nOfColumns; col++)
      |     ^~~
../inst/include/RcppHungarian.h:258:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  258 |       if (nOfCoveredColumns == minDim)
      |       ^~
../inst/include/RcppHungarian.h: In member function 'void HungarianAlgorithm::step3(int*, double*, bool*, bool*, bool*, bool*, bool*, int, int, int)':
../inst/include/RcppHungarian.h:288:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  288 |               for (starCol = 0; starCol<nOfColumns; starCol++)
      |               ^~~
../inst/include/RcppHungarian.h:292:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  292 |                 if (starCol == nOfColumns) /* no starred zero found */
      |                 ^~
../inst/include/RcppHungarian.h: In member function 'void HungarianAlgorithm::step4(int*, double*, bool*, bool*, bool*, bool*, bool*, int, int, int, int, int)':
../inst/include/RcppHungarian.h:326:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  326 |     for (starRow = 0; starRow<nOfRows; starRow++)
      |     ^~~
../inst/include/RcppHungarian.h:330:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  330 |       while (starRow<nOfRows)
      |       ^~~~~
../inst/include/RcppHungarian.h:337:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  337 |         for (primeCol = 0; primeCol<nOfColumns; primeCol++)
      |         ^~~
../inst/include/RcppHungarian.h:342:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  342 |           newStarMatrix[primeRow + nOfRows*primeCol] = true;
      |           ^~~~~~~~~~~~~
../inst/include/RcppHungarian.h: In member function 'void HungarianAlgorithm::step5(int*, double*, bool*, bool*, bool*, bool*, bool*, int, int, int)':
../inst/include/RcppHungarian.h:374:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  374 |         for (col = 0; col<nOfColumns; col++)
      |         ^~~
../inst/include/RcppHungarian.h:383:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  383 |           for (row = 0; row<nOfRows; row++)
      |           ^~~
../inst/include/RcppHungarian.h:383:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
../inst/include/RcppHungarian.h:389:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  389 |             for (col = 0; col<nOfColumns; col++)
      |             ^~~
../inst/include/RcppHungarian.h:389:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
../inst/include/RcppHungarian.h:395:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  395 |               step3(assignment, distMatrix, starMatrix, newStarMatrix, primeMatrix, coveredColumns, coveredRows, nOfRows, nOfColumns, minDim);
      |               ^~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49,
                 from RcppExports.cpp:5:
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h: In constructor 'Rcpp::Function_Impl<StoragePolicy>::Function_Impl(const std::string&, const std::string&)':
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h:75:65: error: 'R_NamespaceRegistry' was not declared in this scope
   75 |             Shield<SEXP> env(R_getVarEx(Rf_install(ns.c_str()), R_NamespaceRegistry, FALSE, R_UnboundValue));
      |                                                                 ^~~~~~~~~~~~~~~~~~~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: RcppExports.o] Error 1
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpY1m29y/R.INSTALL149986b46641b/RcppHungarian/src'
ERROR: compilation failed for package 'RcppHungarian'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/RcppHungarian'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/RcppHungarian'