remotes::install_github('rstudio/connectapi')
Error: Failed to install 'unknown package' from GitHub:
Timeout was reached: [api.github.com] Connection timed out after 10001 milliseconds
This is a connectivity issue, maybe you have connectivity restrictions of some kind like a firewall or proxy server or you have exceeded the download limit for your IP, in which case you would need to define your GITHUB_PAT (personal access token) environment variable to overcome the limitation.