Problems installing packages using devtools install_github and install_local

Hello,

I have been trying to install the following package for RStudio today and have been running into a lot of problems: https://github.com/akoyabio/phenoptrReports. I first used the command outlined in the installation instructions to download the package from github:
devtools::install_github("akoyabio/phenoptrReports")

but ran into a timeout erro most likely because I am working on a computer that is using a proxy. I then decided to manually download the github file to my computer and then use devtools::install_local() to install the package but then again ran into the same error:

devtools::install_local("C:\Users\mrm2231\Desktop\phenoptrReports-master")
Error: Failed to install 'phenoptrReports' from local:
Timeout was reached: Connection timed out after 10000 milliseconds

I'm not really sure what could be causing this error, especially because I successfully downloaded a similar package from github( https://github.com/PerkinElmer/phenoptr) by manually installing it from the github and then doing devtools::install_local("C:\Users\mrm2231\Desktop\phenoptr-master).

Do any of you have any idea what could be going on here?

1 Like

My guess is that since the package phenoptrReports specifies multiple remote repositories as dependencies (here), install_local() tries to install these from GitHub. In contrast, the phenoptr package does not specify any remote dependencies.

Remotes:
    akoyabio/phenoptr,
    akoyabio/rtree,
    akoyabio/tiff,
    hms-dbmi/UpSetR

You could try first downloading and installing these other packages using install_local() and then try to install phenoptrReports again.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.