You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
libarchive required for archive pkg from CRAN #358
I attempted to deploy an app with a dependency on the {archive} package. This has a dependency on libarchive. It seems it is not present on shinyapps.io servers.
Same problem here. My error output looks like this:
[2024-02-26T03:31:47.255868666+0000] Building R package: archive (1.1.7)
/mnt/packages/build /mnt
PKG_CONFIG_PATH=
PKG_CFLAGS=
PKG_LIBS=-larchive
--------------------------- [ANTICONF] --------------------------------
Configuration failed because libarchive was not found. Try installing:
* deb: libarchive-dev (Debian, Ubuntu, etc)
* rpm: libarchive-devel (Fedora, CentOS, RHEL)
* csw: libarchive_dev (Solaris)
* brew: libarchive (Mac OSX)
If libarchive is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libarchive.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=...'
--------------------------------------------------------------------
* installing to library ‘/usr/lib/R’
* installing *source* package ‘archive’ ...
** package ‘archive’ successfully unpacked and MD5 sums checked
** using staged installation
<stdin>:1:10: fatal error: archive.h: No such file or directory
compilation terminated.
ERROR: configuration failed for package ‘archive’
I attempted to deploy an app with a dependency on the {archive} package. This has a dependency on libarchive. It seems it is not present on shinyapps.io servers.
Please could you add this?