yufree
调试之后依旧无报错……只有弹出的网站上的首行 Error。
Jiena
您说的 log 是这个吗?
Preparing to deploy application...DONE
Uploading bundle for application: 946740...DONE
Deploying bundle: 2105386 for application: 946740 ...
Waiting for task: 616391895
building: Parsing manifest
building: Building image: 2219478
building: Installing system dependencies
building: Installing packages
building: Installing files
building: Pushing image: 2219478
rollforward: Activating new instances
success: Stopping old instances
Application successfully deployed to https://hoas.shinyapps.io/xaj_model/
Deployment completed: https://hoas.shinyapps.io/xaj_model/
以及那个LOCAL_APPDATA_FONTCONFIG_CACHE
我不清楚是啥,是RunApp旁边的 Clear List 吗?
yihui
去掉这个 options 在 RStudio 中就再无报错,但是网站上还是那样……
现在才知道 log 是这个...
----- Deployment log started at 2019-05-24 10:50:39 -----
Deploy command:
rsconnect::deployApp(appDir = "E:/1R/xaj_model", appFileManifest = "C:/Users/Hoas/AppData/Local/Temp/06ed-90b8-961d-3f95", account = "hoas", server = "shinyapps.io", appName = "xaj_model", appTitle = "xaj_model", launch.browser = function(url) { message("Deployment completed: ", url) }, lint = FALSE, metadata = list(asMultiple = FALSE, asStatic = FALSE, ignoredFiles = "global.R|xunhe.csv|xunhe.txt|xunhe.xlsx"), logLevel = "verbose")
Session information:
R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17134)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)_China.936
[2] LC_CTYPE=Chinese (Simplified)_China.936
[3] LC_MONETARY=Chinese (Simplified)_China.936
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.936
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.0 rsconnect_0.8.13
Cookies:
[1] "None"
GET /v1/applications/946748 2070ms
----- Deployment error -----
����: HTTP 404
GET https://api.shinyapps.io/v1/applications/946748
Not Found
----- Error stack trace -----
8: stop("HTTP ", response$status, "\n", response$req$method, " ",
response$req$protocol, "://", response$req$host, response$req$port,
response$req$path, "\n", msg, call. = FALSE)
7: reportError(json$error)
6: handleResponse(GET(service, authInfo, path))
5: client$getApplication(target$appId)
4: applicationForTarget(client, accountDetails, target, forceUpdate)
3: force(code)
2: withStatus(paste0("Preparing to deploy ", assetTypeName), {
application <- applicationForTarget(client, accountDetails,
target, forceUpdate)
})
1: rsconnect::deployApp(appDir = "E:/1R/xaj_model", appFileManifest = "C:/Users/Hoas/AppData/Local/Temp/06ed-90b8-961d-3f95",
account = "hoas", server = "shinyapps.io", appName = "xaj_model",
appTitle = "xaj_model", launch.browser = function(url) {
message("Deployment completed: ", url)
}, lint = FALSE, metadata = list(asMultiple = FALSE, asStatic = FALSE,
ignoredFiles = "global.R|xunhe.csv|xunhe.txt|xunhe.xlsx"),
logLevel = "verbose")
����: HTTP 404
GET https://api.shinyapps.io/v1/applications/946748
Not Found
ִֹͣ��