简体   繁体   中英

Unable to install github packages from R, “could not resolve proxy”

I recently changed some settings in the Rstudio configuration while tryng to set up a conection with conda, I tried to return all the settings to default and now I can not install github packages anymore, when I try to install a package I recieve the error

    Error: Failed to install 'unknown package' from GitHub:
  Could not resolve proxy: proxy.server.com

I tried using devtools::install_github() and remotes::install_github() both are giving me the same error. Is there something i can chek to see if the connection is ok? I am not having any other issues when installing packages from CRAN or pulling and pushing to github from Rstudio. Thanks!!

I think the best way to check your connection is try it out. You can check your connection by push a small change to another RStudio project. After that you can check the logs in RStudio (accessible via help/Diagnostics/Show log files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM