gpt4 book ai didi

r - Shiny 的应用程序错误 :/v1/applications/400 - Validation Error Execution halted

转载 作者:行者123 更新时间:2023-12-04 05:03:05 25 4
gpt4 key购买 nike

嗨,我在尝试将我的应用发布到 Shiny.io 时遇到了一百万个问题。

首先,我在我的电脑上安装了 Rtools 3.2 并设置为 Path,但它在注册表中无法识别。没关系,这段代码应该修复它:

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')

然后我的应用程序开始在浏览器中运行,我点击发布到我 Shiny 的帐户。但是,在部署应用程序时,它显示以下错误:
Preparing to deploy application...Error: /v1/applications/ 400 - Validation Error
Execution halted

任何想法可能是什么问题?谢谢你。

最佳答案

我返回了同样的错误。就我而言,问题在于应用程序本身的名称。部署的应用程序的名称必须至少有 4 个字符长且不能有空格。

关于r - Shiny 的应用程序错误 :/v1/applications/400 - Validation Error Execution halted,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31331398/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com