Coolgenome / iTALK

57 stars 22 forks source link

issues when installing ITALK #34

Open xinmiaoyan opened 2 years ago

xinmiaoyan commented 2 years ago

hi, I used the code to install iTALK nd tried many time but failed, would you help? thanks so much

the code: devtools::install_github("Coolgenome/iTALK", build_vignettes = TRUE, force = TRUE)

the bug: `Downloading GitHub repo Coolgenome/iTALK@HEAD These packages have more recent versions available. It is recommended to update all of them. Which would you like to update?

1: All
2: CRAN packages only
3: None
4: slam (0.1-48 -> 0.1-49) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 1 slam (0.1-48 -> 0.1-49) [CRAN] Installing 1 packages: slam

There is a binary version available but the source version is later: binary source needs_compilation slam 0.1-48 0.1-49 TRUE

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) n trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.1/slam_0.1-48.tgz' Content type 'application/x-gzip' length 202614 bytes (197 KB)

downloaded 197 KB

The downloaded binary packages are in /var/folders/vg/bnpr7f252gvg68_50qt12_z9dxfpv0/T//RtmpsCskTx/downloaded_packages ✓ checking for file ‘/private/var/folders/vg/bnpr7f252gvg68_50qt12_z9dxfpv0/T/RtmpsCskTx/remotes9dfd4e974e05/Coolgenome-iTALK-6d9b390/DESCRIPTION’ ... ─ preparing ‘iTALK’: ✓ checking DESCRIPTION meta-information ... ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories NB: this package now depends on R (>= 3.5.0) WARNING: Added dependency on R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R. File(s) containing such objects: ‘iTALK/R/sysdata.rda’ ‘iTALK/data/LR_database.rda’ ─ building ‘iTALK_0.1.0.tar.gz’ Warning in sprintf(gettext(fmt, domain = domain), ...) : one argument not used by format 'invalid uid value replaced by that for user 'nobody'' Warning: invalid uid value replaced by that for user 'nobody' Warning in sprintf(gettext(fmt, domain = domain), ...) : one argument not used by format 'invalid gid value replaced by that for user 'nobody'' Warning: invalid gid value replaced by that for user 'nobody'

kathy1234WU commented 2 years ago

Hi,

I just installed iTALK with the following code Not sure if it helps you

library(devtools) install_github("Coolgenome/iTALK", build_vignettes = TRUE) install.packages("ps") install.packages("scater") BiocManager::install("scater")

devtools::install_github('arc85/celltalker') install.packages("G://google Downloads/iTALK-master/",repos=NULL,type="source")

######################### library(iTALK) library(Seurat) library(Matrix) library(dplyr) library(igraph)

Depending on your computer, there may be some packages that need to be installed first

Good luck!