* using log directory 'd:/Rcompile/CRANpkg/local/4.6/openxlsx2.Rcheck' * using R Under development (unstable) (2025-12-10 r89137 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 * checking for file 'openxlsx2/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'openxlsx2' version '1.22' * 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 'openxlsx2' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/openxlsx2.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'openxlsx2' ... ** this is package 'openxlsx2' version '1.22' ** package 'openxlsx2' 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/2025_12_11_01_50_00_29123/RtmpolpZYv/R.INSTALL319c656d6e96/openxlsx2/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I. -I../inst/include/pugixml -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 D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Rcpp:21, from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Light:25, from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Lighter:25, from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Lightest:26, from openxlsx2_types.h:54, 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/RtmpolpZYv/R.INSTALL319c656d6e96/openxlsx2/src' ERROR: compilation failed for package 'openxlsx2' * removing 'd:/Rcompile/CRANpkg/lib/4.6/openxlsx2' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/openxlsx2'