* using log directory 'd:/Rcompile/CRANpkg/local/4.6/bfp.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 09:44:19 UTC * checking for file 'bfp/DESCRIPTION' ... OK * this is package 'bfp' version '0.0-50' * 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 'bfp' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/bfp.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'bfp' ... ** this is package 'bfp' version '0.0-50' ** package 'bfp' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 14.3.0' using C++ compiler: 'g++.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpwnr14F/R.INSTALLcd38339f3d2c/bfp/src' gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -D R_NO_REMAP -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c hyp2f1.c -o hyp2f1.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -D R_NO_REMAP -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c mtherr.c -o mtherr.o In file included from mtherr.c:58: mconf.h:95:9: warning: "DOMAIN" redefined 95 | #define DOMAIN 1 /* argument domain error */ | ^~~~~~ In file included from D:/RCompile/recent/R/include/R.h:45, from mtherr.c:1: D:/rtools45/x86_64-w64-mingw32.static.posix/include/math.h:29:9: note: this is the location of the previous definition 29 | #define DOMAIN _DOMAIN | ^~~~~~ mconf.h:96:9: warning: "SING" redefined 96 | #define SING 2 /* argument singularity */ | ^~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/include/math.h:30:9: note: this is the location of the previous definition 30 | #define SING _SING | ^~~~ mconf.h:97:9: warning: "OVERFLOW" redefined 97 | #define OVERFLOW 3 /* overflow range error */ | ^~~~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/include/math.h:31:9: note: this is the location of the previous definition 31 | #define OVERFLOW _OVERFLOW | ^~~~~~~~ mconf.h:98:9: warning: "UNDERFLOW" redefined 98 | #define UNDERFLOW 4 /* underflow range error */ | ^~~~~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/include/math.h:32:9: note: this is the location of the previous definition 32 | #define UNDERFLOW _UNDERFLOW | ^~~~~~~~~ mconf.h:99:9: warning: "TLOSS" redefined 99 | #define TLOSS 5 /* total loss of precision */ | ^~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/include/math.h:33:9: note: this is the location of the previous definition 33 | #define TLOSS _TLOSS | ^~~~~ mconf.h:100:9: warning: "PLOSS" redefined 100 | #define PLOSS 6 /* partial loss of precision */ | ^~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/include/math.h:34:9: note: this is the location of the previous definition 34 | #define PLOSS _PLOSS | ^~~~~ g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -D R_NO_REMAP -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -Inewmat -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c bayesMfp.cpp -o bayesMfp.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from rcppExport.h:28, from bayesMfp.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)); | ^~~~~~~~~~~~~~~~~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: bayesMfp.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpwnr14F/R.INSTALLcd38339f3d2c/bfp/src' ERROR: compilation failed for package 'bfp' * removing 'd:/Rcompile/CRANpkg/lib/4.6/bfp' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/bfp'