* installing *source* package ‘cpp11tesseract’ ...
** this is package ‘cpp11tesseract’ version ‘5.3.5’
** package ‘cpp11tesseract’ successfully unpacked and MD5 sums checked
** using staged installation
Package tesseract was not found in the pkg-config search path.
Perhaps you should add the directory containing `tesseract.pc'
to the PKG_CONFIG_PATH environment variable
No package 'tesseract' found
--------------------------- [ANTICONF] --------------------------------
Configuration failed to find system libraries. Try installing:
 * deb: libtesseract-dev libleptonica-dev (Debian, Ubuntu, etc)
 * rpm: tesseract-devel leptonica-devel (Fedora, CentOS, RHEL)
 * brew: tesseract leptonica (Mac OSX)
If the libraries are already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains the necessary .pc files. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
ERROR: configuration failed for package ‘cpp11tesseract’
* removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/cpp11tesseract.Rcheck/cpp11tesseract’