shinyappsio multibyte error

This error appeared when Korean was included in the code. But there is no Korean in my code. What is the problem?

Shinyappsio deploy failed due to error
Error Code :
Failed to lint file 'app.R'
The linter failed with message:

invalid multibyte string at '<98><81>
Failed to lint file 'app.R'
The linter failed with message:

invalid multibyte string at '<98><81>

sessionInfo():
R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default

locale:
[1] LC_COLLATE=Korean_Korea.949 LC_CTYPE=Korean_Korea.949 LC_MONETARY=Korean_Korea.949 LC_NUMERIC=C LC_TIME=Korean_Korea.949

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] plotly_4.9.4.1 forcats_0.5.1 purrr_0.3.4 readr_1.4.0 tidyr_1.1.3 tibble_3.1.2 tidyverse_1.3.1
[8] lubridate_1.7.10 showtext_0.9-2 showtextdb_3.0 sysfonts_0.8.3 stringr_1.4.0 rvest_1.0.0 DT_0.18
[15] ggplot2_3.3.5 dplyr_1.0.7 shinydashboard_0.7.1 shiny_1.6.0

loaded via a namespace (and not attached):
[1] httr_1.4.2 sass_0.4.0 jsonlite_1.7.2 viridisLite_0.4.0 modelr_0.1.8 bslib_0.2.5.1 assertthat_0.2.1 askpass_1.1
[9] cellranger_1.1.0 yaml_2.2.1 pillar_1.6.1 backports_1.2.1 glue_1.4.2 digest_0.6.27 promises_1.2.0.1 colorspace_2.0-2
[17] htmltools_0.5.1.1 httpuv_1.6.1 pkgconfig_2.0.3 broom_0.7.9 haven_2.4.3 xtable_1.8-4 scales_1.1.1 later_1.2.0
[25] openssl_1.4.4 generics_0.1.0 ellipsis_0.3.2 cachem_1.0.5 withr_2.4.2 lazyeval_0.2.2 cli_3.0.0 magrittr_2.0.1
[33] crayon_1.4.1 readxl_1.3.1 mime_0.11 fs_1.5.0 fansi_0.5.0 xml2_1.3.2 rsconnect_0.8.23 tools_4.1.0
[41] data.table_1.14.0 hms_1.1.0 lifecycle_1.0.0 munsell_0.5.0 reprex_2.0.1 compiler_4.1.0 jquerylib_0.1.4 rlang_0.4.11
[49] grid_4.1.0 rstudioapi_0.13 htmlwidgets_1.5.3 crosstalk_1.1.1 gtable_0.3.0 DBI_1.1.1 curl_4.3.2 R6_2.5.0
[57] fastmap_1.1.0 utf8_1.2.1 stringi_1.6.2 Rcpp_1.0.6 vctrs_0.3.8 dbplyr_2.1.1 tidyselect_1.1.1

rsconnect::showLogs()
2021-08-23T08:54:06.478218+00:00 shinyapps[4388056]: During startup - Warning messages:
2021-08-23T08:54:06.478221+00:00 shinyapps[4388056]: 1: Setting LC_CTYPE failed, using "C"
2021-08-23T08:54:06.478222+00:00 shinyapps[4388056]: 3: Setting LC_TIME failed, using "C"
2021-08-23T08:54:06.478223+00:00 shinyapps[4388056]: 5: Setting LC_MONETARY failed, using "C"
2021-08-23T08:54:06.478224+00:00 shinyapps[4388056]: 7: Setting LC_MEASUREMENT failed, using "C"
2021-08-23T08:54:06.478223+00:00 shinyapps[4388056]: 4: Setting LC_MESSAGES failed, using "C"
2021-08-23T08:54:06.515075+00:00 shinyapps[4388056]: RJSONIO version: (none)
2021-08-23T08:54:06.708864+00:00 shinyapps[4388056]: Using jsonlite for JSON processing
2021-08-23T08:54:06.514990+00:00 shinyapps[4388056]: Server version: 1.8.6.1
2021-08-23T08:54:06.515012+00:00 shinyapps[4388056]: httpuv version: 1.6.1
2021-08-23T08:54:06.478223+00:00 shinyapps[4388056]: 6: Setting LC_PAPER failed, using "C"
2021-08-23T08:54:06.509126+00:00 shinyapps[4388056]: Running on host: 9160a2dd9b8b
2021-08-23T08:54:06.515004+00:00 shinyapps[4388056]: LANG: en_USs.UTF-8ss
2021-08-23T08:54:06.515019+00:00 shinyapps[4388056]: rmarkdown version: (none)
2021-08-23T08:54:06.515005+00:00 shinyapps[4388056]: shiny version: 1.6.0
2021-08-23T08:54:06.515039+00:00 shinyapps[4388056]: knitr version: (none)
2021-08-23T08:54:06.515004+00:00 shinyapps[4388056]: R version: 4.1.0
2021-08-23T08:54:06.515243+00:00 shinyapps[4388056]: Using pandoc: /opt/connect/ext/pandoc/2.11
2021-08-23T08:54:06.712101+00:00 shinyapps[4388056]: Starting R with process ID: '26'
2021-08-23T08:54:06.515074+00:00 shinyapps[4388056]: jsonlite version: 1.7.2
2021-08-23T08:54:06.515089+00:00 shinyapps[4388056]: htmltools version: 0.5.1.1
2021-08-23T08:54:06.743393+00:00 shinyapps[4388056]: Error in value[3L] : there is no package called 'shinydashboard'
2021-08-23T08:54:06.743394+00:00 shinyapps[4388056]: Calls: local ... tryCatch -> tryCatchList -> tryCatchOne ->
2021-08-23T08:54:06.743394+00:00 shinyapps[4388056]: Execution halted
2021-08-23T08:54:15.288677+00:00 shinyapps[4388056]: During startup - Warning messages:
2021-08-23T08:54:15.288679+00:00 shinyapps[4388056]: 1: Setting LC_CTYPE failed, using "C"
2021-08-23T08:54:15.325829+00:00 shinyapps[4388056]: R version: 4.1.0
2021-08-23T08:54:15.288685+00:00 shinyapps[4388056]: 2: Setting LC_COLLATE failed, using "C"
2021-08-23T08:54:15.288685+00:00 shinyapps[4388056]: 3: Setting LC_TIME failed, using "C"
2021-08-23T08:54:15.325830+00:00 shinyapps[4388056]: shiny version: 1.6.0
2021-08-23T08:54:15.288687+00:00 shinyapps[4388056]: 7: Setting LC_MEASUREMENT failed, using "C"
2021-08-23T08:54:15.325818+00:00 shinyapps[4388056]: LANG: en_USs.UTF-8ss
2021-08-23T08:54:15.288686+00:00 shinyapps[4388056]: 4: Setting LC_MESSAGES failed, using "C"
2021-08-23T08:54:15.319851+00:00 shinyapps[4388056]: Running on host: 9160a2dd9b8b
2021-08-23T08:54:15.288687+00:00 shinyapps[4388056]: 6: Setting LC_PAPER failed, using "C"
2021-08-23T08:54:15.325787+00:00 shinyapps[4388056]: Server version: 1.8.6.1
2021-08-23T08:54:15.325851+00:00 shinyapps[4388056]: httpuv version: 1.6.1
2021-08-23T08:54:15.325861+00:00 shinyapps[4388056]: rmarkdown version: (none)
2021-08-23T08:54:15.325930+00:00 shinyapps[4388056]: htmltools version: 0.5.1.1
2021-08-23T08:54:15.521615+00:00 shinyapps[4388056]: Using jsonlite for JSON processing
2021-08-23T08:54:15.288686+00:00 shinyapps[4388056]: 5: Setting LC_MONETARY failed, using "C"
2021-08-23T08:54:15.524903+00:00 shinyapps[4388056]: Starting R with process ID: '42'
2021-08-23T08:54:15.325916+00:00 shinyapps[4388056]: RJSONIO version: (none)
2021-08-23T08:54:15.326061+00:00 shinyapps[4388056]: Using pandoc: /opt/connect/ext/pandoc/2.11
2021-08-23T08:54:15.325867+00:00 shinyapps[4388056]: knitr version: (none)
2021-08-23T08:54:15.325876+00:00 shinyapps[4388056]: jsonlite version: 1.7.2
2021-08-23T08:54:15.556241+00:00 shinyapps[4388056]: Error in value[3L] : there is no package called 'shinydashboard'
2021-08-23T08:54:15.556242+00:00 shinyapps[4388056]: Calls: local ... tryCatch -> tryCatchList -> tryCatchOne ->
2021-08-23T08:54:15.556243+00:00 shinyapps[4388056]: Execution halted

There are a few errors. Here is one to start with:

You probably need to load it in the app. There will be others.

1 Like

Thank you for your answer.
App.r has already called shinny, shinny dashboards.
The encoding problem is somewhat solved. However, there is an error in the process of loading files locally.
Error in value[3L] : there is no package called 'shinydashboard'
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne ->
Execution halted

I solved this problem. In the data directory.There was an error because there was a py file, and the encoding problem occurred in title = "Korean".

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.