McMasterPandemic
McMasterPandemic copied to clipboard
remotes::install_github() times out with non-obvious error message
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
Thank you for tracking down the answer! Yes we will add this to the readme.
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?