I am attempting to install the package vtable on Fedora 39 using both RStudio IDE and the Terminal using R. Both ways, the package dependency fails when attempting to install kableExtra. It does all the stuff it should, THEN says : Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/my_name/R/x86_64-redhat-linux-gnu-library/4.3/stringi/libs/stringi.so':
libicui18n.so.72: cannot open shared object file: No such file or directory
Calls: ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
Execution halted
How do I fix this? Thanks!
Full error message: install.packages("vtable")
Installing package into ‘/home/mon_nom/R/x86_64-redhat-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
also installing the dependency ‘kableExtra’
trying URL 'https://cran.rstudio.com/src/contrib/kableExtra_1.3.4.tar.gz'
Content type 'application/x-gzip' length 1646490 bytes (1.6 MB)
downloaded 1.6 MB
trying URL 'https://cran.rstudio.com/src/contrib/vtable_1.4.6.tar.gz'
Content type 'application/x-gzip' length 145345 bytes (141 KB)
downloaded 141 KB
- installing source package ‘kableExtra’ ...
** package ‘kableExtra’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/myname/R/x86_64-redhat-linux-gnu-library/4.3/stringi/libs/stringi.so':
libicui18n.so.72: cannot open shared object file: No such file or directory
Calls: ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
Execution halted
ERROR: lazy loading failed for package ‘kableExtra’ - removing ‘/home/my_name/R/x86_64-redhat-linux-gnu-library/4.3/kableExtra’
Warning in install.packages :
installation of package ‘kableExtra’ had non-zero exit status
ERROR: dependency ‘kableExtra’ is not available for package ‘vtable’ - removing ‘/home/mon_nom/R/x86_64-redhat-linux-gnu-library/4.3/vtable’
Warning in install.packages :
installation of package ‘vtable’ had non-zero exit status