* installing *source* package 'surveygraph' ... ** this is package 'surveygraph' version '1.0.0' ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 14.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.cc -o init.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c make_projection_pilot.cc -o make_projection_pilot.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c make_threshold_profile_pilot.cc -o make_threshold_profile_pilot.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c surveygraph_edgelist.cc -o surveygraph_edgelist.o surveygraph_edgelist.cc: In member function 'void surveygraph::edgelist_complete()': surveygraph_edgelist.cc:43:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 43 | else if(metric == 1) | ^~ surveygraph_edgelist.cc:46:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 46 | edgelist.insert(edge{std::set{int(i), int(j)}, w}); | ^~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c surveygraph_make_projection.cc -o surveygraph_make_projection.o surveygraph_make_projection.cc: In member function 'void surveygraph::make_projection_lcc()': surveygraph_make_projection.cc:23:20: error: 'ceil' was not declared in this scope 23 | int target = int(ceil(methodval * (survey.size() - 1))) + 1; | ^~~~ surveygraph_make_projection.cc: In member function 'void surveygraph::make_projection_avgdegree()': surveygraph_make_projection.cc:59:20: error: 'ceil' was not declared in this scope 59 | int target = int(ceil(methodval * ecomplete)); | ^~~~ make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:294: surveygraph_make_projection.o] Error 1 ERROR: compilation failed for package 'surveygraph' * removing 'd:/RCompile/CRANincoming/R-devel/lib/surveygraph'