* using log directory 'd:/Rcompile/CRANpkg/local/4.5/BART.Rcheck' * using R Under development (unstable) (2024-12-21 r87453 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'BART/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'BART' version '2.9.9' * 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 'BART' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.5/BART.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'BART' ... ** package 'BART' successfully unpacked and MD5 sums checked ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs using C compiler: 'gcc.exe (GCC) 13.3.0' using C++ compiler: 'g++.exe (GCC) 13.3.0' make[1]: Entering directory '/d/temp/2024_12_22_01_50_00_26287/RtmpoLXC4g/R.INSTALLda6831a31e6/BART/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c bart.cpp -o bart.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c bartfuns.cpp -o bartfuns.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c bd.cpp -o bd.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cabart.cpp -o cabart.o In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:76, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:27, from common.h:51, from cabart.cpp:21: D:/RCompile/recent/R/include/Rmath.h:282:25: error: 'double R::Rf_pnorm5(double, double, double, int, int)' conflicts with a previous declaration 282 | #define pnorm Rf_pnorm5 | ^~~~~~~~~ lambda.h:29:10: note: in expansion of macro 'pnorm' 29 | using R::pnorm; | ^~~~~ D:/RCompile/recent/R/include/Rmath.h:374:9: note: previous declaration 'double Rf_pnorm5(double, double, double, int, int)' 374 | double Rf_pnorm5(double, double, double, int, int); | ^~~~~~~~~ cabart.cpp: In function 'SEXPREC* cabart(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': cabart.cpp:114:9: warning: unused variable 'grp' [-Wunused-variable] 114 | int *grp = &_grp[0]; | ^~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: cabart.o] Error 1 make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/RtmpoLXC4g/R.INSTALLda6831a31e6/BART/src' ERROR: compilation failed for package 'BART' * removing 'd:/Rcompile/CRANpkg/lib/4.5/BART' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/BART'