Increase timeout on update function
Closed this issue · 3 comments
mpjashby commented
The package file is quite large so updating often fails on slow connections.
mpjashby commented
remotes::install_github()
uses base::download.file()
to download the package from GitHub. The only way to increase the default 60-second timeout on download.file()
seems to be using option()
, which is bad practice inside package.
The best way to deal with this may be to use http::GET()
instead, but this introduces a new dependency.