部署后网页出现An error has occurred. Check your logs or contact the app author for clarification.
我代码里没有使用任何中文字符,deploy的log显示如下
Session information:
R version 4.2.1 (2022-06-23 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)China.utf8
[2] LC_CTYPE=Chinese (Simplified)China.utf8
[3] LC_MONETARY=Chinese (Simplified)China.utf8
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)China.utf8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.2.1 rsconnect_0.8.27
Cookies:
[1] "None"
GET /v1/applications/7373887 889ms
----- Bundle upload started at 2022-10-21 10:09:49 -----
[2022-10-21 10:09:49] Inferring App mode and parameters
[2022-10-21 10:09:49] Bundling app dir
[2022-10-21 10:09:49] Generate manifest.json
[2022-10-21 10:09:49] Starting to perform packrat snapshot
Adding these packages to packrat:
这里省略多行
----- Deployment log finished at 2022-10-21 10:11:56 -----
Deployment completed: 这里是网址
Warning message:
Error detecting locale: Error in make.names(col.names, unique = TRUE): '<d6><f7><bb><fa>'多字节字符串有错
(Using default: en_US)