* 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 Using CXX11CPP: clang++-19 -E -std=gnu++11 Tesseract is compatible with the C++ compiler used by R. ** libs using C++ compiler: ‘Debian clang version 19.1.2 (1)’ rm -f cpp11tesseract.so cpp11.o cpp11tesseract.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/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: In file included from ./cpp11tesseract_types.h:12: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11.hpp:3: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/R.hpp:11:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 11 | #define R_NO_REMAP | ^ :5:9: note: previous definition is here 5 | #define R_NO_REMAP 1 | ^ In file included from cpp11.cpp:4: In file included from ./cpp11tesseract_types.h:12: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11.hpp:3: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/R.hpp:12:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 12 | #define STRICT_R_HEADERS | ^ :4:9: note: previous definition is here 4 | #define STRICT_R_HEADERS 1 | ^ 2 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/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: In file included from ./cpp11tesseract_types.h:12: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11.hpp:3: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/R.hpp:11:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 11 | #define R_NO_REMAP | ^ :5:9: note: previous definition is here 5 | #define R_NO_REMAP 1 | ^ In file included from cpp11tesseract.cpp:1: In file included from ./cpp11tesseract_types.h:12: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11.hpp:3: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/R.hpp:12:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 12 | #define STRICT_R_HEADERS | ^ :4:9: note: previous definition is here 4 | #define STRICT_R_HEADERS 1 | ^ 2 warnings generated. clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-19/lib -Wl,-O1 -o cpp11tesseract.so cpp11.o cpp11tesseract.o -ltesseract -larchive -lcurl -L/home/hornik/tmp/R-d-clang-19/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)