* installing *source* package 'spatgraphs' ...
** this is package 'spatgraphs' version '3.4'
** package 'spatgraphs' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.2.0'
make[1]: Entering directory '/d/temp/2025_10_14_01_50_00_4128/Rtmpw9slCN/R.INSTALL13aac1f0377a4/spatgraphs/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -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 Graph.cpp -o Graph.o
Graph.cpp: In member function 'void Graph::sg_geometric(double)':
Graph.cpp:96:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
96 | for(i=0;i<(pp->size()-1);i++)
| ^~~
Graph.cpp:105:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
105 | if(dbg)Rprintf(" Ok.");
| ^~
Graph.cpp: In member function 'void Graph::sg_mass_geometric()':
Graph.cpp:197:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
197 | for(i=0;i<pp->size();i++)
| ^~~
Graph.cpp:208:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
208 | if(dbg)Rprintf(" Ok.");
| ^~
Graph.cpp: In member function 'void Graph::sg_markcross()':
Graph.cpp:307:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
307 | for(i=0;i<(pp->size()-1);i++)
| ^~~
Graph.cpp:316:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
316 | if(dbg)Rprintf(" Ok.");
| ^~
Graph.cpp: In member function 'void Graph::sg_SIG()':
Graph.cpp:330:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
330 | for(j=0;j<pp->size();j++)
| ^~~
Graph.cpp:332:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
332 | pars.at(i)=dist;
| ^~~~
Graph.cpp: In member function 'void Graph::sg_RNG()':
Graph.cpp:399:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
399 | if(pp->getDist(&i,&k) < pp->getDist(&i, &j))
| ^~
Graph.cpp:402:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
402 | if(isempty)
| ^~
Graph.cpp: In member function 'void Graph::sg_sub_RNG()':
Graph.cpp:423:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
423 | for(l=0; l < edges.at(i).size(); l++){
| ~~^~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -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 Pp.cpp -o Pp.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -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
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -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 cut.cpp -o cut.o
cut.cpp: In function 'Rcpp::List cut_c(Rcpp::List, Rcpp::NumericMatrix, double)':
cut.cpp:17:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
17 | for(j=0; j < onode.size(); j++) {
| ~~^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -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 prune.cpp -o prune.o
prune.cpp: In function 'Rcpp::List prune_c(Rcpp::List, int, int)':
prune.cpp:56:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
56 | for(i=0; i < (int)nodelist.at(next-1).size();i++)
| ^~~
prune.cpp:59:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
59 | nodelist.at(next-1).swap(*pnode);
| ^~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -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 remove_nodes.cpp -o remove_nodes.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -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 spatcluster.cpp -o spatcluster.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -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 spatgraph.cpp -o spatgraph.o
g++ -std=gnu++17 -shared -s -static-libgcc -o spatgraphs.dll tmp.def Graph.o Pp.o RcppExports.o cut.o prune.o remove_nodes.o spatcluster.o spatgraph.o -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_10_14_01_50_00_4128/Rtmpw9slCN/R.INSTALL13aac1f0377a4/spatgraphs/src'
make[1]: Entering directory '/d/temp/2025_10_14_01_50_00_4128/Rtmpw9slCN/R.INSTALL13aac1f0377a4/spatgraphs/src'
make[1]: Leaving directory '/d/temp/2025_10_14_01_50_00_4128/Rtmpw9slCN/R.INSTALL13aac1f0377a4/spatgraphs/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-spatgraphs/00new/spatgraphs/libs/x64
** R
** 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 'spatgraphs' as spatgraphs_3.4.zip
* DONE (spatgraphs)