The newest version of the backbone package (v3.0.3) on CRAN is generating this error during the automated checks on r-devel-windows-x86_64:

using C++ compiler: 'g++.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2025_12_11_01_50_00_29123/Rtmp0S4wJB/R.INSTALL3e5c542f717b/backbone/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 RcppExports.cpp -o RcppExports.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:84, from RcppExports.cpp:4: D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Rmath.h: In function 'double R::rnbeta(double, double, double)': D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Rmath.h:163:100: error: '::Rf_rnbeta' has not been declared; did you mean 'Rf_rbeta'? 163 | inline double rnbeta(double a, double b, double np) { return ::Rf_rnbeta(a, b, np); } | ^~~~~~~~~ | Rf_rbeta make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:296: RcppExports.o] Error 1 make[1]: Leaving directory '/d/temp/2025_12_11_01_50_00_29123/Rtmp0S4wJB/R.INSTALL3e5c542f717b/backbone/src' ERROR: compilation failed for package 'backbone'

I have been unable to replicate the error on a windows platform using rhub, and the error does not occur during automated CRAN checks on any other platform (including r-release-windows-x86_64 and r-oldrel-windows-x86_64). Could this be a problem with the C++ compiler in CRAN's r-devel-windows installation? Any insight or suggestions are appreciated.

Zachary's user avatar

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.