I am facing error while installing R package textshaping
Asked Answered
S

2

12

I am getting this error while installing packages.

ERROR: configuration failed for package ‘textshaping’ ERROR: configuration failed for package ‘textshaping’

  • removing ‘/home/Saniya/R/si-s/renv/staging/1/textshaping’ Error: install of package 'textshaping' failed [error code 1]

What is wrong and what should I do. I am new with R. Please help.

Stretto answered 10/8, 2022 at 4:47 Comment(2)
Please include the command that you used for installation and the complete error, warning or other messages. Also the operating system and whether you are installing from source or not.Avernus
You might try installing a binary with utils::install.packages("textshaping", type = "binary").Petiole
K
24
  1. In bash:

    sudo apt install libharfbuzz-dev libfribidi-dev
    
  2. in RStudio

    install.packages("textshaping", dependencies = TRUE)
    
Kienan answered 19/11, 2022 at 17:37 Comment(2)
on RHEL 8: sudo yum install harfbuzz-devel fribidi-develBritannia
for those using macos : brew install harfbuzz fribidiRickert
R
0

I also tried to follow this package directly in R, and later found that using conda or mamba is so simple:

conda install -n R4.32 -c conda-forge r-textshaping
Rivard answered 20/11, 2023 at 3:0 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.