Failure to load package: xslt

84 views
Skip to first unread message

Kevin Snyder

unread,
Aug 17, 2018, 3:16:23 PM8/17/18
to shinyapps.io Users
I have attempted to load the package "xslt" for my Shiny app, but it appears that "libexslt" is required and not found.  I've copy and pasted the error statement from the deploy log here:

#############################################################

[2018-08-17T18:50:52.906407745+0000] Building R package: xslt (1.3)
/mnt/packages/build /mnt
* installing to library �/opt/R/3.5.1/lib/R/library�
* installing *source* package �xslt� ...
** package �xslt� successfully unpacked and MD5 sums checked
Package libexslt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libexslt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libexslt' found
Using PKG_CFLAGS=-I/usr/include/libxml2
Using PKG_LIBS=-lexslt -lxslt -lxml2
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libexslt was not found. Try installing:
 * deb: libxslt1-dev (Debian, Ubuntu, etc)
 * rpm: libxslt-devel (Fedora, CentOS, RHEL)
 * csw: libxslt_dev (Solaris)
If libexslt is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libexslt.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 �xslt�
* removing �/opt/R/3.5.1/lib/R/library/xslt�

#############################################################

Is it possible for the shinyapps.io environment to be updated to include the library "libexslt" so that the R package "xslt" can be properly installed?

Joshua Spiewak

unread,
Aug 27, 2018, 9:53:52 AM8/27/18
to shinyapps.io Users
This is covered in the System Packages section of the documentation.
Reply all
Reply to author
Forward
0 new messages