【发布时间】:2015-07-10 02:17:02
【问题描述】:
您好,我在尝试将我的应用发布到 shiny.io 时遇到了一百万个问题。
首先,我在我的计算机上安装了 Rtools 3.2 并设置为路径,但它在注册表中无法识别。没关系,这段代码应该可以修复它:
install.packages("installr")
library(installr)
install.Rtools(choose_version = FALSE, check = TRUE, use_GUI = TRUE,
page_with_download_url = "http://cran.r-project.org/bin/windows/Rtools/, keep_install_file=TRUE")
install.packages("devtools")
library(devtools)
devtools::install_github('rstudio/shinyapps')
接下来,将我的应用部署到我的 shiny.io 帐户:
library(shinyapps)
shinyapps::setAccountInfo(name='xxxx', token='xxxxxxxxxx', secret='xxxxxxxx')
然后我的应用程序开始在浏览器中运行,然后我点击发布到我的闪亮帐户。但是,在部署应用程序时,它会显示以下错误:
Preparing to deploy application...Error: /v1/applications/ 400 - Validation Error
Execution halted
任何想法可能是什么问题?谢谢。
【问题讨论】:
标签: r deployment server shiny publish