* installing *source* package ‘cpp11tesseract’ ... ** using staged installation Found pkg-config cflags and libs! Using PKG_CFLAGS=-I/usr/include/leptonica Using PKG_LIBS=-ltesseract -larchive -lcurl Verifying include paths... Directory /include/leptonica does not exist Directory /include/tesseract does not exist Header file /include/leptonica/allheaders.h does not exist Using CXX11CPP: clang++-18 -E -std=gnu++11 ** libs using C++ compiler: ‘Debian clang version 18.1.8 (11)’ rm -f cpp11tesseract.so cpp11.o cpp11tesseract.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/leptonica -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fvisibility=hidden -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c cpp11.cpp -o cpp11.o In file included from cpp11.cpp:4: ./cpp11tesseract_types.h:4:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 4 | #define R_NO_REMAP | ^ :5:9: note: previous definition is here 5 | #define R_NO_REMAP 1 | ^ In file included from cpp11.cpp:4: ./cpp11tesseract_types.h:5:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 5 | #define STRICT_R_HEADERS | ^ :4:9: note: previous definition is here 4 | #define STRICT_R_HEADERS 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/leptonica -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fvisibility=hidden -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c cpp11tesseract.cpp -o cpp11tesseract.o In file included from cpp11tesseract.cpp:1: ./cpp11tesseract_types.h:4:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 4 | #define R_NO_REMAP | ^ :5:9: note: previous definition is here 5 | #define R_NO_REMAP 1 | ^ In file included from cpp11tesseract.cpp:1: ./cpp11tesseract_types.h:5:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 5 | #define STRICT_R_HEADERS | ^ :4:9: note: previous definition is here 4 | #define STRICT_R_HEADERS 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-18/lib -Wl,-O1 -o cpp11tesseract.so cpp11.o cpp11tesseract.o -ltesseract -larchive -lcurl -L/home/hornik/tmp/R-d-clang-18/lib -lR installing to /srv/hornik/tmp/CRAN_pretest/cpp11tesseract.Rcheck/00LOCK-cpp11tesseract/00new/cpp11tesseract/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (cpp11tesseract)