【问题标题】:Error in installing shinyapps package from github从 github 安装 shinyapps 包时出错
【发布时间】:2015-04-13 00:02:24
【问题描述】:

我正在尝试从其在 Github 的开发页面安装 shinyapps 包,以将我的应用程序部署到 shinyapps.io 服务。我正在使用 http://shiny.rstudio.com/articles/shinyapps.html

中描述的此代码
devtools::install_github('rstudio/shinyapps')

但是,我收到以下错误消息:

Downloading github repo rstudio/shinyapps@master
Error in function (type, msg, asError = TRUE)  : 
Failed to connect to api.github.com port 443: Connection refused

知道为什么以及如何解决这个问题吗?

【问题讨论】:

    标签: r shiny shiny-server install.packages


    【解决方案1】:

    我对这个问题进行了更深入的搜索,发现我需要运行这一行:

    install_github("hadley/pryr")
    

    然后是安装 shinayapps 的那一行:

    devtools::install_github('rstudio/shinyapps')
    

    对我来说效果很好!

    【讨论】:

    • 我想你的意思是,devtools::install_github("hadley/pryr")?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多