Hello guys,
I am just trying to install the "pdftools" in R but its not working it shows me the following output:
install.packages("pdftools")
also installing the dependency ‘qpdf’
There are binary versions available but the source versions are later:
binary source needs_compilation
qpdf 1.1 1.2.0 TRUE
pdftools 3.1.1 3.2.1 TRUE
Do you want to install from sources the packages which need compilation? (Yes/no/cancel) install.packages("qpdf")
If I install the "qpdf" package the following output is shown:
install.packages("qpdf")
There is a binary version available but the source version is later:
binary source needs_compilation
qpdf 1.1 1.2.0 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel)
And after setting "yes" this is shown:
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) yes
installing the source package ‘qpdf’
trying URL 'https://cran.rstudio.com/src/contrib/qpdf_1.2.0.tar.gz'
Content type 'application/x-gzip' length 321641 bytes (314 KB)
downloaded 314 KB
- installing source package ‘qpdf’ ...
** package ‘qpdf’ successfully unpacked and MD5 sums checked
** using staged installation
Using bundled qpdf (recommended)
./configure: line 4: pkg-config: command not found
** libs
Does anyone know how to solve this problem here?
Thank you in advance!