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

Installation error #30

Closed
yugi1001 opened this issue Nov 2, 2021 · 5 comments
Closed

Installation error #30

yugi1001 opened this issue Nov 2, 2021 · 5 comments

Comments

@yugi1001
Copy link

yugi1001 commented Nov 2, 2021

Hi,
I have been encountering an error while trying to install the package. can you please help. Thanks

install_github("stefpeschel/NetCoMi")
Downloading GitHub repo stefpeschel/NetCoMi@HEAD
Error: Failed to install 'NetCoMi' from GitHub:
Command failed (128)
In addition: Warning message:
In system(full, intern = TRUE, ignore.stderr = quiet) :
running command ''/usr/bin/git' ls-remote https://git.bioconductor.org/packages/Biobase RELEASE_3_14 2>/dev/null' had status 128

sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.5 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

@stefpeschel
Copy link
Owner

Hey,

I have just successfully installed NetCoMi on a Linux server with the following specifications:

R version 4.0.4 (2021-02-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04 LTS

So, the installation should generally work on Linux.

I would suggest to install NetCoMi's dependencies manually using the following code:

if(!requireNamespace("BiocManager", quietly = TRUE)){
  utils::install.packages("BiocManager")
}

BiocManager::install(pkgs = c("Biobase", "doSNOW", "fdrtool", "filematrix",
                              "foreach", "graphics", "grDevices", "gtools",
                              "huge", "igraph", "MASS", "Matrix", "phyloseq",
                              "pulsar", "qgraph", "Rdpack", "snow", "SPRING",
                              "stats", "utils", "vegan", "WGCNA"))

devtools::install_github("GraceYoon/SPRING")
devtools::install_github("zdk123/SpiecEasi")

devtools::install_github("stefpeschel/NetCoMi", 
                         dependencies = c("Depends", "Imports"),
                         repos = c("https://cloud.r-project.org/",
                                   BiocManager::repositories()))

Since in your case, there might be a problem with the Biobase package, you could also start with installing only the Biobase package and see if you encounter any problems.

Please let me know if you still have problems with the installation.

Best,
Stefanie

@stefpeschel
Copy link
Owner

I will close this issue now. Feel free to reopen it if there are still intallation problems.

@lianetd
Copy link

lianetd commented May 22, 2022

hello,
I have been encountering an error while trying to install the package. can you please help. Thanks
Downloading GitHub repo stefpeschel/NetCoMi@HEAD
Error: Failed to install 'NetCoMi' from GitHub:
Git does not seem to be installed on your system.
then i traite with this code
if(!requireNamespace("BiocManager", quietly = TRUE)){
utils::install.packages("BiocManager")
}

BiocManager::install(pkgs = c("Biobase", "doSNOW", "fdrtool", "filematrix",
"foreach", "graphics", "grDevices", "gtools",
"huge", "igraph", "MASS", "Matrix", "phyloseq",
"pulsar", "qgraph", "Rdpack", "snow", "SPRING",
"stats", "utils", "vegan", "WGCNA"))

devtools::install_github("GraceYoon/SPRING")
devtools::install_github("zdk123/SpiecEasi")

devtools::install_github("stefpeschel/NetCoMi",
dependencies = c("Depends", "Imports"),
repos = c("https://cloud.r-project.org/",
BiocManager::repositories()))
but the program was not installed

@Sarbu4all
Copy link

I also had error with install_github("stefpeschel/NetCoMi"). After installing gfortran (https://cran.r-project.org/), the issue was solved! As suggested, I installed SPRING and SpiecEasi first and then NetCoMi.

@Apatzingan1
Copy link

Hi I have the same problem ---- Error: Failed to install 'NetCoMi' from GitHub:
Git does not seem to be installed on your system
I install NetCoMi's dependencies manually, and the Error shows only in:
devtools::install_github("stefpeschel/NetCoMi", dependencies = c("Depends", "Imports"), repos = c("https://cloud.r-project.org/", BiocManager::repositories()))

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

5 participants