HELP ! ERROR when Installing xUCINET for R Studio

Hi,

Please help, I need to install the package xUCINET for R . This is the link for the package ASNR 2022 - xUCINET .

I have tried every possible way , but it comes out this error :

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/maria/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
ERROR: dependencies 'sna', 'igraph' are not available for package 'xUCINET'

  • removing 'C:/Users/maria/AppData/Local/R/win-library/4.4/xUCINET'
    Warning in install.packages :
    installation of package ‘C:/Users/maria/OneDrive/Desktop/XUCINE~1/xUCINET_0.0.1.0022.tar.gz’ had non-zero exit status

library(xUCINET)
Error en library(xUCINET): no hay paquete llamado ‘xUCINET’

Please HELP, I need to finish my paper ! PLEASE :frowning:

Seems like their installation instructions are not so great and they do not mention that you need to install the dependencies of their package first. In any case, if you download their package, and then run:

pak::pkg_install("local::~/Downloads/xUCINET_0.0.2.0020.tar.gz")

(modify it to be local:: + the path of the downloaded file), that should install all dependencies correctly.

Thanks for the reply. I sorted it out. You were right, 3 packages were needed in order to run the xUCINET package.

install.packages("blockmodeling")

install.packages("FactoMineR")

install.packages("igraph")

and the SNA dependencies

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.