jmw86069 / multienrichjam

Analysis and Visualization of Multiple Gene Set Enrichments
24 stars 4 forks source link

Convert to R package for easier installation #9

Open fakaozhangsan opened 1 month ago

fakaozhangsan commented 1 month ago

Hello author, I am a Chinese clinical medical student currently studying the intersection of bioinformatics and clinical medicine. However, for some reasons, I am unable to directly link to GitHub using R. I have tried many times but have failed. Could you please make Multienrichjam into an R package that can be easily installed? I would greatly appreciate it. PixPin_2024-10-09_16-12-46

jmw86069 commented 1 month ago

Thank you for posting the issue! I have not seen this error before, but I'll help try to fix it.

There seem to be two potential solutions:

  1. You may be accessing Github behind a proxy, and the proxy is interfering with remotes::install_github(). If this is true, there is some information about configuring the proxy at this link: https://stackoverflow.com/questions/17783686/solution-how-to-install-github-when-there-is-a-proxy. I included an example below.
  2. You may be able to clone the Github and install locally. However, there are several Github repositories, I think this is not recommended. You would need to clone all Github repositories and install them in proper order. (jamba, colorjam, multienrichjam)

To configure your proxy, you may try:

library(httr)
set_config(use_proxy(
   url="18.91.12.23",
   port=8080,
   username="user",
   password="password")
)
remotes::install_github('jmw86069/multienrichjam')

The proxy url should be defined by your local network. The username/password might not be necessary. There is a comment referring to "WPAD" that may be helpful for determining the proxy information.

This is just a guess. I suspect you cannot install any Github packages, so it might be useful to find the cause in your situation so that you can install other R Github packages in future.

For example you may confirm the problem by trying to install another R package through Github:

remotes::install_github("r-lib/rlang")

If this command produces the same error, then you're unable to install anything from Github. (And it would show that this is a configuration problem, and not a "multienrichjam" problem.)

Other workarounds seem to involve using a specific DNS, or using another method to download files from Github.

I'm interested to see you solve the issue, please let me know how it goes! Thank you.

fakaozhangsan commented 1 month ago

dear jmw86069 I have tried to adjust the proxy to make it conform to the port file of R, but it still doesn't work. I can't directly connect to GitHub. However, I can directly download the installation package of GitHub and install it manually. Once again, I earnestly request the author. Can you make an R package that can be directly downloaded and used? I have tried installing other R packages. Installing them one by one may be relatively slow, but manual installation is still possible. I am a clinician and may not be very proficient in computer technology. However, I have consulted and tried many times, but still cannot install your R package. So I earnestly request you to upload an R package that can be directly downloaded and manually installed. Thank you very much!

yang zhai [cid:8b1b6669-b580-42b6-874b-6b2df68af5bf]


发件人: James Ward @.> 发送时间: 2024年10月15日 0:45 收件人: jmw86069/multienrichjam @.> 抄送: fakaozhangsan @.>; Author @.> 主题: Re: [jmw86069/multienrichjam] Convert to R package for easier installation (Issue #9)

Thank you for posting the issue! I have not seen this error before, but I'll help try to fix it.

There seem to be two potential solutions:

  1. You may be accessing Github behind a proxy, and the proxy is interfering with remotes::install_github(). If this is true, there is some information about configuring the proxy at this link: https://stackoverflow.com/questions/17783686/solution-how-to-install-github-when-there-is-a-proxy. I included an example below.
  2. You may be able to clone the Github and install locally. However, there are several Github repositories, I think this is not recommended. You would need to clone all Github repositories and install them in proper order. (jamba, colorjam, multienrichjam)

To configure your proxy, you may try:

library(httr) set_config(use_proxy( url="18.91.12.23", port=8080, username="user", password="password") ) remotes::install_github('jmw86069/multienrichjam')

The proxy url should be defined by your local network. The username/password might not be necessary. There is a comment referring to "WPAD" that may be helpful for determining the proxy information.

This is just a guess. I suspect you cannot install any Github packages, so it might be useful to find the cause in your situation so that you can install other R Github packages in future.

For example you may confirm the problem by trying to install another R package through Github:

remotes::install_github("r-lib/rlang")

If this command produces the same error, then you're unable to install anything from Github. (And it would show that this is a configuration problem, and not a "multienrichjam" problem.)

Other workarounds seem to involve using a specific DNS, or using another method to download files from Github.

I'm interested to see you solve the issue, please let me know how it goes! Thank you.

― Reply to this email directly, view it on GitHubhttps://github.com/jmw86069/multienrichjam/issues/9#issuecomment-2411766205, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFAEMLCRJ5Q37VLKS6QGAJDZ3PYKXAVCNFSM6AAAAABPT6BKF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJRG43DMMRQGU. You are receiving this because you authored the thread.

jmw86069 commented 2 weeks ago

I will put together the specific steps I would use to install all dependencies without using the remotes package to install from Github.

In the meantime I am working to push the package to Bioconductor, hopefully that will solve the problem in the long term.

I will post back with details on a manual install path. Thank you for your patience.

fakaozhangsan commented 2 weeks ago

I wanted to express my gratitude for the efforts you’ve put into detailing the steps needed to install all dependencies without using the remotes package from Github.

Thank you again for your patience and dedication.

发送自 Outlook for Androidhttps://aka.ms/AAb9ysg


From: James Ward @.> Sent: Tuesday, November 5, 2024 11:25:41 AM To: jmw86069/multienrichjam @.> Cc: fakaozhangsan @.>; Author @.> Subject: Re: [jmw86069/multienrichjam] Convert to R package for easier installation (Issue #9)

I will put together the specific steps I would use to install all dependencies without using the remotes package to install from Github.

In the meantime I am working to push the package to Bioconductor, hopefully that will solve the problem in the long term.

I will post back with details on a manual install path. Thank you for your patience.

― Reply to this email directly, view it on GitHubhttps://github.com/jmw86069/multienrichjam/issues/9#issuecomment-2456151468, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFAEMLC34FTMRLA7KXDUNB3Z7AUCLAVCNFSM6AAAAABPT6BKF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJWGE2TCNBWHA. You are receiving this because you authored the thread.Message ID: @.***>