saeyslab / multinichenetr

MultiNicheNet: a flexible framework for differential cell-cell communication analysis from multi-sample multi-condition single-cell transcriptomics data
GNU General Public License v3.0
107 stars 14 forks source link

installation issue #69

Closed alexstu closed 3 months ago

alexstu commented 3 months ago

Hello,

got an issue while installing the new version.

Both devtools and githubinstall fail to find the repo:

> devtools::install_github("saeyslab/multinichenetr")
Downloading GitHub repo saeyslab/multinichenetr@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  download from 'https://api.github.com/repos/saeyslab/multinichenetr/tarball/HEAD' failed
> githubinstall("multinichenetr")
Select a number or, hit 0 to cancel. 

1: akeyel/multirich           Multilevel Network Analysis
2: jamesdunham/multiline      Multilevel Network Analysis
3: neylsoncrepalde/multinets  Multilevel Network Analysis

nichenetr installs fine.

Best, Alex

browaeysrobin commented 3 months ago

Hi @alexstu

This does not seem to be a multinichenetr-specific installation issue. Here are some general steps to troubleshoot and resolve this issue:

  1. Check Your Internet Connection Ensure that your internet connection is stable and try again.

  2. Increase Timeout Increase the timeout option to give the download more time to complete.

options(timeout = 600)  # Increase the timeout to 10 minutes
devtools::install_github("saeyslab/multinichenetr")
  1. Check API Rate Limits GitHub imposes rate limits on the number of API requests. You can check your remaining quota: gh::gh("/rate_limit")
alexstu commented 3 months ago

Worked for me, thanks for swift reply!