我在部署 Shiny App 的更新版本时遇到问题。每当我尝试部署时,我的系统都会停止Starting Upload Now
并且我反复收到此错误。
此输出在Show Diagnostic Information when Publishing
标志打开的情况下。
----- Deployment error -----
Error in force(code) : Could not upload file.
Calls: <Anonymous> -> withStatus -> force
----- Error stack trace -----
Error in force(code) : Could not upload file.
Calls: <Anonymous> -> withStatus -> force
Error during wrapup: length(max.lines) <= 1 is not TRUE
Error: no more error handlers available (recursive errors?); invoking 'abort' restart
Execution halted
有人对可能出了什么问题有想法吗?
部署命令
rsconnect::deployApp(appDir = "~/BP/APP/APP/R", appFileManifest = "C:/Users/maxwe/AppData/Local/Temp/9851-d65e-68db-ef2e", account = "ACOUNT_NAME", server = "shinyapps.io", appName = "APP_NAME_FY2021", appTitle = "APP_NAME_FY2021", launch.browser = function(url) { message("Deployment completed: ", url) }, lint = FALSE, metadata = list(asMultiple = FALSE, asStatic = FALSE), logLevel = "verbose")