stefpeschel / NetCoMi

Network construction, analysis, and comparison for microbial compositional data
GNU General Public License v3.0
146 stars 26 forks source link

Installation failure without error shown #49

Closed ivanllampy closed 2 years ago

ivanllampy commented 2 years ago

Dear author,

I am new to network analysis for microbial data and hope try it with NetCoMi package. I encountered some errors during installation, eventually came up with the following:

Downloading GitHub repo stefpeschel/NetCoMi@HEAD 'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details replacement repositories: CRAN: https://cran.rstudio.com/ Error: Failed to install 'NetCoMi' from GitHub: Git does not seem to be installed on your system.

The error said Git does not seem to be installed, but I have installed it already... Is it something like R cannot detect Git on my computer? I have gone through several past issues regarding installation errors but with no success.

To ensure I have installed all dependencies, I followed recommendation in (https://github.com/stefpeschel/NetCoMi/issues/30) without difficulties. Besides, I once encountered error similar to (https://github.com/stefpeschel/NetCoMi/issues/48), but it somehow disappear.

May I get some advice on how to solve the issue? Any help would be highly appreciated! Many thanks!

ivanllampy commented 2 years ago

Keep trying in a trial-and-error basis, I was updating everything I can. In the mean time, I encountered the following:

  1. Error same as (#48) occur occasionally, either disappear itself, or create a Personal Access Token would solve the problem.
  2. Some dependency packages often experience updating errors due to unknown reason. I manually remove those packages and reinstall them one by one to solve the problem.
  3. Still uncertain what is going regarding the "Git does not seem to be installed on your system" error. Following (https://happygitwithr.com/rstudio-see-git.html), I relocate the same pathway again (overall nothing change) to "solve" the problem.

The package is now installed. Sorry for open up a ghost issue, hopefully others with similar difficulties can solve the problem. Hopefully this would be useful for troubleshooting. Many thanks!