Open cjyetman opened 1 year ago
Thanks, yes we sort of assume a full dev environment, including compilers, make, and pkg-config. But on MacOS most uses will be using precompiled binaries anyway. Are you not using the official R distribution?
I'm using Posit Package Manager, which currently does not have binaries for macOS/R4.3 https://packagemanager.posit.co/client/#/repos/cran/packages/overview?search=pdftools
While trying to install {pdftools} on macOS (ARM64), I ran into problems, even after manually installing poppler with
brew install poppler
. I was getting the following error messagewhich seems to assume one already has
pkg-config
installed but not correctly configured, but I did not havepkg-config
installed (nor know what it is frankly). Ultimately, this was easily resolved by runningbrew install pkg-config poppler
.Maybe this is all obvious to some, but it wasn't to me and took quite some time to figure out and I did not find this suggested anywhere on the www, so maybe this could be useful to document somewhere?