在编写shiny程序时候,往往会出现,本地运行正常,但是Deploy时候会出错。
今天主要介绍deploy出错的问题:fail uploading my shiny app #123
image.png
在上传过程中一直遇到这个问题,而且显示上传成功,但是界面打开确是:ERROR: An error has occurred. Check your logs or contact the app author for clarification.
image.png
使用命令行上传shiny,在上传前输入以下code
options(encoding = "UTF-8")
deployApp()