Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't install nichenetr #307

Open
yujike1122 opened this issue Oct 17, 2024 · 1 comment
Open

Couldn't install nichenetr #307

yujike1122 opened this issue Oct 17, 2024 · 1 comment

Comments

@yujike1122
Copy link

Couldn't install nichenetr, I am using R version 4.4.1, see the error below:

if(!requireNamespace("devtools", quietly = TRUE)) {

  • install.packages("devtools")
  • }

devtools::install_github("saeyslab/nichenetr")
Downloading GitHub repo saeyslab/nichenetr@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from 'https://api.github.com/repos/saeyslab/nichenetr/tarball/HEAD' failed

devtools::install_github("saeyslab/nichenetr", ref = "v2.0.0")
Downloading GitHub repo saeyslab/[email protected]
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from 'https://api.github.com/repos/saeyslab/nichenetr/tarball/v2.0.0' failed

devtools::install_github("saeyslab/nichenetr", ref = "v2.0.4")
Downloading GitHub repo saeyslab/[email protected]
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from 'https://api.github.com/repos/saeyslab/nichenetr/tarball/v2.0.4' failed

@Eisuan
Copy link

Eisuan commented Oct 18, 2024

Dear user,
Based on your error report, the issue seems to be related to the internet connection.

Try to download the package when you are sure you have a stable internet connection.
Changing the timeout may also help (e.g. options(timeout=600) ).

Best regards,
Daniele

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants