r-lib / remotes

Install R packages from GitHub, GitLab, Bitbucket, git, svn repositories, URLs
https://remotes.r-lib.org/
Other
330 stars 152 forks source link

anybody knows why the connection timeout appear in `install_local()` function? #713

Closed XinLi0111 closed 2 years ago

XinLi0111 commented 2 years ago

When I use the remotes::install_local("/tmp/master.zip") to install a local git repo. The Timeout was reached: [api.github.com] Connection timeout after 10001 ms always appears and then exit.

I don't understand why the network connnection is neccessary when install a local package.

gaborcsardi commented 2 years ago

Because some dependencies are probably referring to packages on GitHub.

XinLi0111 commented 2 years ago

Thank you, 👍