* installing *source* package ‘RcppHungarian’ ... ** package ‘RcppHungarian’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘clang version 17.0.5’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RcppHungarian/src' /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: ./../inst/include/RcppHungarian.h:177:13: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 177 | for (row = 0; row<nOfRows; row++) | ^ ./../inst/include/RcppHungarian.h:169:11: note: previous statement is here 169 | if (fabs(distMatrix[row + nOfRows*col]) < DBL_EPSILON) | ^ ./../inst/include/RcppHungarian.h:258:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 258 | if (nOfCoveredColumns == minDim) | ^ ./../inst/include/RcppHungarian.h:254:5: note: previous statement is here 254 | for (col = 0; col<nOfColumns; col++) | ^ ./../inst/include/RcppHungarian.h:292:17: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 292 | if (starCol == nOfColumns) /* no starred zero found */ | ^ ./../inst/include/RcppHungarian.h:288:15: note: previous statement is here 288 | for (starCol = 0; starCol<nOfColumns; starCol++) | ^ ./../inst/include/RcppHungarian.h:330:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 330 | while (starRow<nOfRows) | ^ ./../inst/include/RcppHungarian.h:326:5: note: previous statement is here 326 | for (starRow = 0; starRow<nOfRows; starRow++) | ^ ./../inst/include/RcppHungarian.h:342:11: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 342 | newStarMatrix[primeRow + nOfRows*primeCol] = true; | ^ ./../inst/include/RcppHungarian.h:337:9: note: previous statement is here 337 | for (primeCol = 0; primeCol<nOfColumns; primeCol++) | ^ ./../inst/include/RcppHungarian.h:383:11: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 383 | for (row = 0; row<nOfRows; row++) | ^ ./../inst/include/RcppHungarian.h:374:9: note: previous statement is here 374 | for (col = 0; col<nOfColumns; col++) | ^ ./../inst/include/RcppHungarian.h:389:13: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 389 | for (col = 0; col<nOfColumns; col++) | ^ ./../inst/include/RcppHungarian.h:383:11: note: previous statement is here 383 | for (row = 0; row<nOfRows; row++) | ^ ./../inst/include/RcppHungarian.h:395:15: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 395 | step3(assignment, distMatrix, starMatrix, newStarMatrix, primeMatrix, coveredColumns, coveredRows, nOfRows, nOfColumns, minDim); | ^ ./../inst/include/RcppHungarian.h:389:13: note: previous statement is here 389 | for (col = 0; col<nOfColumns; col++) | ^ In file included from RcppExports.cpp:5: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from RcppExports.cpp:5: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c hungarian.cpp -o hungarian.o 11 warnings generated. In file included from hungarian.cpp:1: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from hungarian.cpp:1: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from hungarian.cpp:2: ../inst/include/RcppHungarian.h:177:13: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 177 | for (row = 0; row<nOfRows; row++) | ^ ../inst/include/RcppHungarian.h:169:11: note: previous statement is here 169 | if (fabs(distMatrix[row + nOfRows*col]) < DBL_EPSILON) | ^ ../inst/include/RcppHungarian.h:258:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 258 | if (nOfCoveredColumns == minDim) | ^ ../inst/include/RcppHungarian.h:254:5: note: previous statement is here 254 | for (col = 0; col<nOfColumns; col++) | ^ ../inst/include/RcppHungarian.h:292:17: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 292 | if (starCol == nOfColumns) /* no starred zero found */ | ^ ../inst/include/RcppHungarian.h:288:15: note: previous statement is here 288 | for (starCol = 0; starCol<nOfColumns; starCol++) | ^ ../inst/include/RcppHungarian.h:330:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 330 | while (starRow<nOfRows) | ^ ../inst/include/RcppHungarian.h:326:5: note: previous statement is here 326 | for (starRow = 0; starRow<nOfRows; starRow++) | ^ ../inst/include/RcppHungarian.h:342:11: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 342 | newStarMatrix[primeRow + nOfRows*primeCol] = true; | ^ ../inst/include/RcppHungarian.h:337:9: note: previous statement is here 337 | for (primeCol = 0; primeCol<nOfColumns; primeCol++) | ^ ../inst/include/RcppHungarian.h:383:11: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 383 | for (row = 0; row<nOfRows; row++) | ^ ../inst/include/RcppHungarian.h:374:9: note: previous statement is here 374 | for (col = 0; col<nOfColumns; col++) | ^ ../inst/include/RcppHungarian.h:389:13: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 389 | for (col = 0; col<nOfColumns; col++) | ^ ../inst/include/RcppHungarian.h:383:11: note: previous statement is here 383 | for (row = 0; row<nOfRows; row++) | ^ ../inst/include/RcppHungarian.h:395:15: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 395 | step3(assignment, distMatrix, starMatrix, newStarMatrix, primeMatrix, coveredColumns, coveredRows, nOfRows, nOfColumns, minDim); | ^ ../inst/include/RcppHungarian.h:389:13: note: previous statement is here 389 | for (col = 0; col<nOfColumns; col++) | ^ 11 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang17/lib -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o RcppHungarian.so RcppExports.o hungarian.o make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RcppHungarian/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RcppHungarian/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RcppHungarian/src' installing to /data/gannet/ripley/R/packages/tests-clang/RcppHungarian.Rcheck/00LOCK-RcppHungarian/00new/RcppHungarian/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 (RcppHungarian)