Error message:
Error installing package 'textshaping':
- installing source package ‘textshaping’ ...
** package ‘textshaping’ successfully unpacked and MD5 sums checked
** using staged installation
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fribidi' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lfreetype -lharfbuzz -lfribidi -lpng
--------------------------- [ANTICONF] --------------------------------
Configuration failed to find the harfbuzz freetype2 fribidi library. Try installing: - deb: libharfbuzz-dev libfribidi-dev (Debian, Ubuntu, etc)
- rpm: harfbuzz-devel fribidi-devel (Fedora, EPEL)
- csw: libharfbuzz_dev libfribidi_dev (Solaris)
- brew: harfbuzz fribidi (OSX)
If harfbuzz freetype2 fribidi is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a harfbuzz freetype2 fribidi.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 MESSAGE] ---------------------------
:1:10: fatal error: hb-ft.h: No such file or directory
compilation terminated.
ERROR: configuration failed for package ‘textshaping’
- removing ‘/usr/local/lib/R/site-library/.renv/1/textshaping’
Error: install of package 'textshaping' failed [error code 1]
In addition: Warning message:
The 'yaml' package is required to parse dependencies within R Markdown files
Consider installing it withinstall.packages("yaml")
.
Traceback (most recent calls last):
11: renv::install()
10: renv_install_impl(records)
9: renv_install_staged(records)
8: renv_install_default(records)
7: handler(package, renv_install_package(record))
6: renv_install_package(record)
5: withCallingHandlers(renv_install_package_impl(record), error = function(e) {
vwritef("\tFAILED")
writef(e$output)
})
4: renv_install_package_impl(record)
3: r_cmd_install(package, path)
2: r_exec_error(package, output, "install", status)
1: stop(error)
Execution halted
The command '/bin/sh -c ./enableR.sh' returned a non-zero code: 1
2023/04/29 14:17:34 Container failed during run: build. No retries remaining.
failed to run step ID: build: exit status 1
Run ID: cb3fw failed after 10m32s. Error: failed during run, err: exit status 1
is their any alternative package I can use?