oloBion / Retip

Retip - Retention Time prediction for metabolomics
31 stars 16 forks source link

Unable to install Retip #11

Open anloto opened 2 years ago

anloto commented 2 years ago

Hi, I want to install Retip but I am not able to install. There is a problem when I try to install devtools::install_github("Paolobnn/Retiplib") Error: Failed to install 'unknown package' from GitHub: Failed to connect to api.github.com port 443: Connection refused I don't know how to solve this problem. Thanks.

tobigithub commented 2 years ago

Hi, the download works, its just very large and the download is slow. You can also check the manual download as ZIP. https://github.com/PaoloBnn/Retiplib

> devtools::install_github("Paolobnn/Retiplib")
Downloading GitHub repo Paolobnn/Retiplib@master
from URL https://api.github.com/repos/Paolobnn/Retiplib/zipball/master
Installing Retiplib

If the download fails for your computer or R installation, try a virtual machine or cloud instance with a fresh install.

anloto commented 2 years ago

Hi, I was able to download the zip file but I don't know how to continue now (I'm not an expert in R software). Presentación1

anloto commented 2 years ago

Please, how I can use the Rproject downloaded? Thanks in advance

tobigithub commented 2 years ago

@anloto, depends what operating system, which R version and user name.

From the blurry screenshot it seems you work under WIN with R4.1.2 So use a tool like ultrasearch or so to find your standard R library path, or use the R command, to find you library path and then unzip the files there.

.libPaths()

I still recommend the standard installation:

devtools::install_github("Paolobnn/Retiplib")

Because if that is not working something is wrong. Also you were able to install retip with devtools, but not the retiplib? Is that correct?

anloto commented 2 years ago

I was able to install Retiplib using zip file, but I was not able to install Retip with devtools, the same message appears: Error: Failed to install 'unknown package' from GitHub: Failed to connect to api.github.com port 443: Connection refused

anloto commented 2 years ago

I try to install Retip using zip file (https://github.com/PaoloBnn/Retip/releases/tag/v0.5.4) but I found the following message: Error: package or namespace load failed for 'Retip': .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures. Error: loading failed