bit2r / BitStat

https://bitstat.shinyapps.io/bitstat/
2 stars 0 forks source link

BitStat::launch() 오류 #1

Closed statkclee closed 2 years ago

statkclee commented 2 years ago

윈도우10 설치하여 실행하면 다음과 같은 오류가 발생됩니다.

> BitStat::launch()
Warning: package ‘xlsx’ was built under R version 4.0.5
Warning in load_local_config(translation_csv_config) :
  You didn't specify config translation yaml file. Default settings are used.
Error in type.convert.default(data[[i]], as.is = as.is[i], dec = dec,  : invalid multibyte string at '<eb><8d><b0>?댄꽣 <ec>꽑<ed>깮'
Backtrace:
  1. BitStat::launch()
 13. Translator$new(translation_csvs_path = "www/meta/translation")
 14. shiny.i18n:::initialize(...)
 15. private$read_csv(...)
 16. shiny.i18n:::read_and_merge_csvs(translation_path, separator)
     ...
 18. base::lapply(...)
 19. shiny.i18n:::FUN(X[[i]], ...)
 20. utils::read.csv(file = x, sep = sep, header = TRUE, encoding = "UTF-8")
 21. utils::read.table(...)
 23. utils:::type.convert.default(...)

sessionInfo()

R version 4.0.1 (2020-06-06)
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
[4] LC_NUMERIC=C                 LC_TIME=Korean_Korea.949    

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

other attached packages:
 [1] xlsx_0.6.5               dlookr_0.5.1             glue_1.4.2               reactable_0.2.3         
 [5] vroom_1.4.0              readr_1.4.0              dplyr_1.0.7              htmltools_0.5.2         
 [9] shiny.i18n_0.2.0         shinythemes_1.1.2        shinybusy_0.2.2          colourpicker_1.0        
[13] shinydashboardPlus_2.0.3 shinydashboard_0.7.1     shinyWidgets_0.6.2       shinyjs_1.1             
[17] shiny_1.5.0             

loaded via a namespace (and not attached):
 [1] lubridate_1.7.10   bit64_4.0.5        webshot_0.5.2      httr_1.4.2         tools_4.0.1       
 [6] bslib_0.3.0        utf8_1.2.2         R6_2.5.1           rpart_4.1-15       DBI_1.1.1         
[11] colorspace_2.0-2   withr_2.4.2        tidyselect_1.1.1   gridExtra_2.3      bit_4.0.4         
[16] compiler_4.0.1     extrafontdb_1.0    rvest_1.0.1        xml2_1.3.2         sass_0.4.0        
[21] BitStat_0.5.0.9000 scales_1.1.1       mvtnorm_1.1-2      systemfonts_1.0.2  stringr_1.4.0     
[26] digest_0.6.27      rmarkdown_2.11     svglite_2.0.0      pkgconfig_2.0.3    extrafont_0.17    
[31] fastmap_1.1.0      htmlwidgets_1.5.4  rlang_0.4.11       rstudioapi_0.13    jquerylib_0.1.4   
[36] generics_0.1.0     jsonlite_1.7.2     magrittr_2.0.1     kableExtra_1.3.4   Formula_1.2-4     
[41] Matrix_1.2-18      Rcpp_1.0.7         munsell_0.5.0      fansi_0.5.0        gdtools_0.2.3     
[46] partykit_1.2-15    lifecycle_1.0.0    stringi_1.7.4      yaml_2.2.1         inum_1.0-4        
[51] grid_4.0.1         hrbrthemes_0.8.0   blob_1.2.1         promises_1.1.1     crayon_1.4.1      
[56] lattice_0.20-41    miniUI_0.1.1.1     splines_4.0.1      xlsxjars_0.6.1     hms_1.1.0         
[61] knitr_1.34         pillar_1.6.2       evaluate_0.14      pagedown_0.15      vctrs_0.3.8       
[66] httpuv_1.5.4       Rttf2pt1_1.3.9     tidyr_1.1.3        gtable_0.3.0       purrr_0.3.4       
[71] assertthat_0.2.1   ggplot2_3.3.5      xfun_0.26          mime_0.11          libcoin_1.0-8     
[76] xtable_1.8-4       later_1.1.0.1      survival_3.1-12    viridisLite_0.4.0  tibble_3.1.4      
[81] rJava_0.9-12       ellipsis_0.3.2    
choonghyunryu commented 2 years ago

@statkclee Server에서 구동될 거라 프로토타이핑이라 Mac/Linux에서 개발하고, Windows에서는 확인을 해 보지 않았습니다. MS-Window에서도 확인하여, Client에서도 구현이 가능하도록 수정하겠습니다.

choonghyunryu commented 2 years ago

@statkclee shiny.i18n 패키지를 사용했었는데, MS-Windows에서 오류가 발생하더군요. i18n은 자체 개발 함수로 대체하여 이슈를 해결했습니다.