I get the following Error when I try to install the package on a Linux machine.
Configuration failed to find the fontconfig freetype2 library. Try installing:
* deb: libfontconfig1-dev (Debian, Ubuntu, etc)
* rpm: fontconfig-devel (Fedora, EPEL)
* csw: fontconfig_dev (Solaris)
* brew: freetype (OSX)
If fontconfig freetype2 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a fontconfig freetype2.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=...'```
I solved the problem using `sudo apt-get install libfontconfig1-dev` but I thought you might want to know about it.
Thanks for this. The error message appears quite informative, and the issue is solved quite easily. So not sure anything is required in our installation instructions.
I get the following Error when I try to install the package on a Linux machine.