* using log directory 'd:/Rcompile/CRANpkg/local/4.3/excel.link.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'excel.link/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'excel.link' version '0.9.15' * 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 'excel.link' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.3/excel.link.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'excel.link' ... ** package 'excel.link' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 12.3.0' using C++ compiler: 'g++.exe (GCC) 12.3.0' make[1]: Entering directory '/d/temp/2025_04_05_01_50_00_30359/RtmpErcoVa/R.INSTALL29b8462d12df1/excel.link/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I. -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c COMError.cpp -o COMError.o In file included from RCOMObject.h:48, from COMError.cpp:17: COMError.cpp: In function 'HRESULT checkErrorInfo(IUnknown*, HRESULT, SEXPREC**)': D:/RCompile/recent/R-4.3.3/include/Rdefines.h:182:33: error: 'mkChar' was not declared in this scope 182 | #define COPY_TO_USER_STRING(x) mkChar(x) | ^~~~~~ D:/RCompile/recent/R-4.3.3/include/Rdefines.h:182:33: note: in definition of macro 'COPY_TO_USER_STRING' 182 | #define COPY_TO_USER_STRING(x) mkChar(x) | ^~~~~~ COMError.cpp: In function 'SEXPREC* R_createCOMErrorCodes()': D:/RCompile/recent/R-4.3.3/include/Rdefines.h:182:33: error: 'mkChar' was not declared in this scope 182 | #define COPY_TO_USER_STRING(x) mkChar(x) | ^~~~~~ D:/RCompile/recent/R-4.3.3/include/Rdefines.h:182:33: note: in definition of macro 'COPY_TO_USER_STRING' 182 | #define COPY_TO_USER_STRING(x) mkChar(x) | ^~~~~~ make[1]: *** [D:/RCompile/recent/R-4.3.3/etc/x64/Makeconf:272: COMError.o] Error 1 make[1]: Leaving directory '/d/temp/2025_04_05_01_50_00_30359/RtmpErcoVa/R.INSTALL29b8462d12df1/excel.link/src' ERROR: compilation failed for package 'excel.link' * removing 'd:/Rcompile/CRANpkg/lib/4.3/excel.link' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.3/excel.link'