* using log directory 'd:/Rcompile/CRANpkg/local/4.6/spatgraphs.Rcheck' * using R version 4.6.0 beta (2026-04-16 r89899 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-17 13:00:56 UTC * checking for file 'spatgraphs/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'spatgraphs' version '3.4' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'spatgraphs' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/spatgraphs.Rcheck/00install.out' for details. * DONE The installation logfile: * 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.3.0' make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpsxvSpB/R.INSTALLbae83aae4b45/spatgraphs/src' g++ -std=gnu++20 -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 In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from Graph.h:1, from Graph.cpp:1: D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h: In constructor 'Rcpp::Function_Impl::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 env(R_getVarEx(Rf_install(ns.c_str()), R_NamespaceRegistry, FALSE, R_UnboundValue)); | ^~~~~~~~~~~~~~~~~~~ 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;isize();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;jsize();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::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 423 | for(l=0; l < edges.at(i).size(); l++){ | ~~^~~~~~~~~~~~~~~~~~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: Graph.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpsxvSpB/R.INSTALLbae83aae4b45/spatgraphs/src' ERROR: compilation failed for package 'spatgraphs' * removing 'd:/Rcompile/CRANpkg/lib/4.6/spatgraphs' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/spatgraphs'