[英]Error in installing shinyapps package from github
I am trying to install the shinyapps
package from its development page at Github to deploy my application to the shinyapps.io
service. 我正在尝试从Github的开发页面安装
shinyapps
软件包,以将我的应用程序部署到shinyapps.io
服务。 I am using the this code as described in http://shiny.rstudio.com/articles/shinyapps.html 我正在按照http://shiny.rstudio.com/articles/shinyapps.html中的描述使用此代码
devtools::install_github('rstudio/shinyapps')
However, I am getting the following error message: 但是,我收到以下错误消息:
Downloading github repo rstudio/shinyapps@master
Error in function (type, msg, asError = TRUE) :
Failed to connect to api.github.com port 443: Connection refused
Any idea about why and how to solve this issue? 是否知道为什么以及如何解决此问题?
I made a more intensive search on this issue and I found that I needed to run this line: 我对此问题进行了更深入的搜索,发现需要运行以下行:
install_github("hadley/pryr")
and then the line for installing shinayapps: 然后是安装shinayapps的行:
devtools::install_github('rstudio/shinyapps')
It worked fine for me! 它对我来说很好!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.