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

Could not resolve host when lunching install_local() #723

Closed gaspare-mattarella closed 1 year ago

gaspare-mattarella commented 1 year ago

Hello,

I build a package and it works fine but when I try to install it locally as a package, it doesn't work because it says: Error: Failed to install 'pckg_NAME' from local: Could not resolve host: api.github.com

Do you know why is this possible? what does GitHub has to do with a local installation?

gaborcsardi commented 1 year ago

Your package probably refers to a dependency on GitHub.