pdftools package needs poppler-cpp. How do I get this on shinyapps.io?

1,421 views
Skip to first unread message

Andrew Clark

unread,
Mar 9, 2016, 12:15:01 AM3/9/16
to ShinyApps Users
Looking to add the pdftools package when deploying an app on shinyapps.io



** package �pdftools� successfully unpacked and MD5 sums checked
Package poppler-cpp was not found in the pkg-config search path.
Perhaps you should add the directory containing `poppler-cpp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'poppler-cpp' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lpoppler-cpp
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because poppler-cpp was not found. Try installing:
 * deb: libpoppler-cpp-dev (Debian, Ubuntu, etc)
 * rpm: poppler-cpp-devel (Fedora, CentOS, RHEL)
 * csw: poppler_dev (Solaris)
 * brew: poppler (Mac OSX)
If poppler-cpp is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a poppler-cpp.pc file. 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: configuration failed for package �pdftools�
* removing �/usr/local/lib/R/site-library/pdftools�

App works locally on Windows with pdftools loaded but cannot find poppler-cpp.pc even if I knew what to with it

cheers

Tareef Kawaf

unread,
Mar 9, 2016, 8:23:04 AM3/9/16
to Andrew Clark, ShinyApps Users
It looks to me that there is an operating system dependency that needs to be installed.  
Would you mind filing an issue here: https://github.com/rstudio/shinyapps-package-dependencies 
for libpoppler-cpp-dev?



--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/b669b439-37af-46f5-a820-51f6c3e93315%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages