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

remotes::install_github() times out with non-obvious error message #239

Open
papsti opened this issue Mar 31, 2023 · 2 comments
Open

remotes::install_github() times out with non-obvious error message #239

papsti opened this issue Mar 31, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@papsti
Copy link
Collaborator

papsti commented Mar 31, 2023

i was trying to install the package with

 remotes::install_github("mac-theobio/[email protected]")

and i would get the following error

Downloading GitHub repo mac-theobio/[email protected]
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  download from 'https://api.github.com/repos/mac-theobio/McMasterPandemic/tarball/v0.0.20.1' failed

found the solution here, which is to increase the timeout limit:

options(timeout=9999999)
remotes::install_github("mac-theobio/[email protected]")

might be worth adding a note in the README to increase the timeout option if getting the above error

@papsti papsti added the documentation Improvements or additions to documentation label Mar 31, 2023
@stevencarlislewalker
Copy link
Collaborator

Thank you for tracking down the answer! Yes we will add this to the readme.

@stevencarlislewalker
Copy link
Collaborator

I'm a little worried about compile times in general. I think this is a potential issue with the architecture of both this package and https://canmod.github.io/macpan2. Maybe we should distribute pre-compiled versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants