* installing *source* package ‘netUtils’ ... ** this is package ‘netUtils’ version ‘0.8.3’ ** package ‘netUtils’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-C++20/netUtils/src' g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c lfr.cpp -o lfr.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c mse.cpp -o mse.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c triad_census_col.cpp -o triad_census_col.o lfr.cpp: In function ‘double average_degree(const double&, const double&, const double&)’: lfr.cpp:1124:21: error: reference to ‘integral’ is ambiguous 1124 | return (1./(integral(gamma, dmax)-integral(gamma, dmin)))*(integral(gamma+1, dmax)-integral(gamma+1, dmin)); | ^~~~~~~~ In file included from /usr/include/c++/15/compare:42, from /usr/include/c++/15/bits/stl_pair.h:65, from /usr/include/c++/15/bits/stl_algobase.h:64, from /usr/include/c++/15/bits/specfun.h:43, from /usr/include/c++/15/cmath:3913, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/platform/compiler.h:37, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:67, from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:31, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from lfr.cpp:32: /usr/include/c++/15/concepts:109:13: note: candidates are: ‘template concept std::integral’ 109 | concept integral = is_integral_v<_Tp>; | ^~~~~~~~ lfr.cpp:1108:8: note: ‘double integral(double, double)’ 1108 | double integral (double a, double b) { | ^~~~~~~~ lfr.cpp:1124:43: error: reference to ‘integral’ is ambiguous 1124 | return (1./(integral(gamma, dmax)-integral(gamma, dmin)))*(integral(gamma+1, dmax)-integral(gamma+1, dmin)); | ^~~~~~~~ /usr/include/c++/15/concepts:109:13: note: candidates are: ‘template concept std::integral’ 109 | concept integral = is_integral_v<_Tp>; | ^~~~~~~~ lfr.cpp:1108:8: note: ‘double integral(double, double)’ 1108 | double integral (double a, double b) { | ^~~~~~~~ lfr.cpp:1124:68: error: reference to ‘integral’ is ambiguous 1124 | return (1./(integral(gamma, dmax)-integral(gamma, dmin)))*(integral(gamma+1, dmax)-integral(gamma+1, dmin)); | ^~~~~~~~ /usr/include/c++/15/concepts:109:13: note: candidates are: ‘template concept std::integral’ 109 | concept integral = is_integral_v<_Tp>; | ^~~~~~~~ lfr.cpp:1108:8: note: ‘double integral(double, double)’ 1108 | double integral (double a, double b) { | ^~~~~~~~ lfr.cpp:1124:92: error: reference to ‘integral’ is ambiguous 1124 | return (1./(integral(gamma, dmax)-integral(gamma, dmin)))*(integral(gamma+1, dmax)-integral(gamma+1, dmin)); | ^~~~~~~~ /usr/include/c++/15/concepts:109:13: note: candidates are: ‘template concept std::integral’ 109 | concept integral = is_integral_v<_Tp>; | ^~~~~~~~ lfr.cpp:1108:8: note: ‘double integral(double, double)’ 1108 | double integral (double a, double b) { | ^~~~~~~~ make[1]: *** [/data/gannet/ripley/R/cxx20/etc/Makeconf:201: lfr.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-C++20/netUtils/src' ERROR: compilation failed for package ‘netUtils’ * removing ‘/data/gannet/ripley/R/packages/tests-C++20/netUtils.Rcheck/netUtils’