* installing *source* package 'tesseract' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' rm -Rf RcppExports.o tesseract.o tesseract.dll mkdir -p ../inst "D:/RCompile/recent/R/bin/x64/Rscript.exe" "../tools/winlibs.R" [1] TRUE Downloading eng.traineddata... Downloading osd.traineddata... cp -Rf ../windows/tessdata ../inst/ cp -Rf ../windows/tesseract/share/tessdata ../inst/ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/tesseract/include -I../windows/tesseract/include/leptonica -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: tesseract_types.h:5: warning: "STRICT_R_HEADERS" redefined 5 | #define STRICT_R_HEADERS | : note: this is the location of the previous definition g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/tesseract/include -I../windows/tesseract/include/leptonica -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tesseract.cpp -o tesseract.o In file included from tesseract.cpp:1: tesseract_types.h:5: warning: "STRICT_R_HEADERS" redefined 5 | #define STRICT_R_HEADERS | : note: this is the location of the previous definition tesseract.cpp: In function 'Rcpp::List engine_info_internal(TessPtr)': tesseract.cpp:115:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 115 | for (int i = 0; i < langs.size(); i++) | ~~^~~~~~~~~~~~~~ tesseract.cpp:120:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 120 | for (int i = 0; i < langs.size(); i++) | ~~^~~~~~~~~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o tesseract.dll tmp.def RcppExports.o tesseract.o -L../windows/tesseract/lib-13.2.0/x64 -L../windows/tesseract/lib -ltesseract -lleptonica -ltiff -lopenjp2 -lwebp -lsharpyuv -ljpeg -lgif -lpng16 -lz -lws2_32 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-tesseract/00new/tesseract/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (tesseract)