CellChat
CellChat copied to clipboard
Error in installing CellChat
Hi, I cannot install CellChat with this following error
Error: (converted from warning) package 'igraph' was built under R version 4.0.5
Execution halted
ERROR: lazy loading failed for package 'CellChat'
* removing 'C:/Users/Jeffrey/Documents/R/win-library/4.0/CellChat'
Error: Failed to install 'CellChat' from GitHub:
(converted from warning) installation of package ‘C:/Users/Jeffrey/AppData/Local/Temp/Rtmp0IQDfJ/file43a0267698b/CellChat_1.5.0.tar.gz’ had non-zero exit status
I've read previous previous issue #134 and know I should try downgrading my igraph package to version 1.2.5 but for whatever reason I cannot install an older version, the codes I've tried include:
devtools::install_version(package = "igraph", version = "1.2.5")
packageurl <- "https://cran.r-project.org/src/contrib/Archive/igraph/igraph_1.2.5.tar.gz"
install.packages(packageurl, repos=NULL, type="source")
But there are always errors in regards to failed compilation. I would greatly appreciate any help on how to successful install an older version of igraph and hence install CellChat, thanks!