* installing *source* package 'excel.link' ... ** package 'excel.link' successfully unpacked and MD5 sums checked ** using staged installation ** 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/RtmpqQQBDr/R.INSTALL3fbc40b57b88/excel.link/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I. -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c COMError.cpp -o COMError.o In file included from RCOMObject.h:46, from COMError.cpp:13: RCOMObject.h: In constructor 'RCOMEnvironmentObject::RCOMEnvironmentObject(SEXP)': RCOMObject.h:171:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 171 | PROTECT(e = allocVector(LANGSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ COMError.cpp: In function 'SEXPREC* RDCOM_setWriteError(SEXP)': COMError.cpp:76:25: error: 'asLogical' was not declared in this scope; did you mean 'Rf_asLogical'? 76 | RDCOM_WriteErrors = asLogical(value); | ^~~~~~~~~ | Rf_asLogical COMError.cpp:77:12: error: 'ScalarLogical' was not declared in this scope; did you mean 'R_scalarLogical'? 77 | return(ScalarLogical(tmp)); | ^~~~~~~~~~~~~ | R_scalarLogical COMError.cpp: In function 'SEXPREC* RDCOM_getWriteError(SEXP)': COMError.cpp:84:12: error: 'ScalarLogical' was not declared in this scope; did you mean 'R_scalarLogical'? 84 | return(ScalarLogical(RDCOM_WriteErrors)); | ^~~~~~~~~~~~~ | R_scalarLogical COMError.cpp: In function 'void COMError(HRESULT)': COMError.cpp:481:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 481 | PROTECT(e = allocVector(LANGSXP, 3)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ COMError.cpp:483:20: error: 'mkString' was not declared in this scope; did you mean 'Rf_mkString'? 483 | SETCAR(CDR(e), mkString(buf)); | ^~~~~~~~ | Rf_mkString COMError.cpp:484:25: error: 'ScalarInteger' was not declared in this scope; did you mean 'R_scalarInteger'? 484 | SETCAR(CDR(CDR(e)), ScalarInteger(hr)); | ^~~~~~~~~~~~~ | R_scalarInteger COMError.cpp: In function 'SEXPREC* R_createCOMErrorCodes()': COMError.cpp:586:23: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 586 | PROTECT(ans = allocVector(REALSXP, n)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: COMError.o] Error 1 make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/RtmpqQQBDr/R.INSTALL3fbc40b57b88/excel.link/src' ERROR: compilation failed for package 'excel.link' * removing 'd:/Rcompile/CRANpkg/lib/4.5/excel.link' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/excel.link'