I am trying to deploy a shinyApp on shinyapps.io and i get an error :
Error: Unhandled Exception: Child Task 721791011 failed: Error building image: Error building ijtiff (2.0.5). Build exited with non-zero status: 1
In addition: Warning message:
Error detecting locale: Error in read.table(file = file, header = header, sep = sep, quote = quote, : incomplete final line found by readTableHeader on 'raw'
(Using default: en_US)
I think that the very end of the build log gets cut off for some reason. I tracked it down to this:
[2020-04-26T13:05:16.571006826+0000] Building R package: ijtiff (2.0.5)
/mnt/packages/build /mnt
* installing to library ‘/opt/R/3.6.1/lib/R/library’
* installing *source* package ‘ijtiff’ ...
** package ‘ijtiff’ successfully unpacked and MD5 sums checked
** using staged installation
Package libtiff-4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libtiff-4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libtiff-4' found
Using PKG_CFLAGS=
Using PKG_LIBS=-ltiff -ljpeg -lz
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libtiff-4 was not found. Try installing:
* deb: libtiff-dev (Debian, Ubuntu, etc)
* rpm: libtiff-devel (Fedora, EPEL)
* brew: libtiff (OSX)
If libtiff-4 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libtiff-4.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 ‘ijtiff’
* removing ‘/opt/R/3.6.1/lib/R/library/ijtiff’