* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘tesseract’ ...
** package ‘tesseract’ successfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/include/leptonica 
Using PKG_LIBS=-ltesseract -larchive -lcurl 
Using CXX11CPP: g++-13 -E -std=gnu++11
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-13) 13.2.0’
make[1]: Entering directory '/tmp/Rtmpga48U6/R.INSTALL2b7e7030ff877a/tesseract/src'
rm -f tesseract.so RcppExports.o tesseract.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/include/leptonica  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fvisibility=hidden -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/include/leptonica  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fvisibility=hidden -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tesseract.cpp -o tesseract.o
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o tesseract.so RcppExports.o tesseract.o -ltesseract -larchive -lcurl -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmpga48U6/R.INSTALL2b7e7030ff877a/tesseract/src'
make[1]: Entering directory '/tmp/Rtmpga48U6/R.INSTALL2b7e7030ff877a/tesseract/src'
make[1]: Leaving directory '/tmp/Rtmpga48U6/R.INSTALL2b7e7030ff877a/tesseract/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-tesseract/00new/tesseract/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘tesseract’
    finding HTML links ... done
    ocr                                     html  
    tessdata                                html  
    tesseract                               html  
** 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 (tesseract)