shiny.io에 deploy 에러...
Error: package or namespace load failed for ��KoNLP��: .onAttach failed in attachNamespace() for 'KoNLP', details: call: if (all((localeToCharset()[1] == c("UTF-8", "CP949", "EUC-KR")) == error: missing value where TRUE/FALSE needed Error: loading failed Execution halted ERROR: loading failed
- removing ��/usr/local/lib/R/site-library/KoNLP�� ################################# End Task Log ################################# ����: Unhandled Exception: Child Task 501286641 failed: Error building image: Error building KoNLP (0.80.1). Build exited with non-zero status: 1 �߰�����: ��������(��): In value[3L] : Failed to parse C:/Users/user/AppData/Local/Temp/RtmpgrnrCx/file18b02bfc5b70/ui.R ; dependencies in this file will not be discovered. ������ �����Ǿ����ϴ�
위와 같은 에러 문제가 계속 발생합니다.
sessionInfo()는 아래와 같구요, 자바, rJava 이상 없습니다. 2대의 윈도우 OS와 1대의 리눅스 OS에서 똑같은 메시지가 출력됩니다.
shiny io 커뮤니티에도 문의한 결과. The package author would need to republish to CRAN then you would need to update locally. 와 같은 답변 뿐이었습니다. https://groups.google.com/forum/#!topic/shinyapps-users/OjRhT4_JKlw
solution이나 어떠한 hint라도 주시면 정말 감사하겠습니다.
==========================아 래=====================================
sessionInfo() R version 3.4.3 (2017-11-30) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)
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] rvest_0.3.2 xml2_1.1.1 XML_3.98-1.9 stringr_1.2.0 tm_0.7-3 NLP_0.1-11 proxy_0.4-19 pdftools_1.5 rJava_0.9-9 KoNLP_0.80.1 shiny_1.0.5
loaded via a namespace (and not attached):
[1] Rcpp_0.12.14 compiler_3.4.3 bitops_1.0-6 tools_3.4.3 digest_0.6.12 bit_1.1-12 jsonlite_1.5 RSQLite_2.0 memoise_1.1.0 tibble_1.3.4 pkgconfig_2.0.1 rlang_0.1.4
[13] DBI_0.7 curl_3.0 yaml_2.1.15 parallel_3.4.3 withr_2.1.0 httr_1.3.1 devtools_1.13.4 bit64_0.9-7 tau_0.0-20 R6_2.2.2 Sejong_0.01 hash_2.2.6
[25] RJSONIO_1.3-0 selectr_0.3-1 blob_1.1.0 magrittr_1.5 htmltools_0.3.6 rsconnect_0.8.5 mime_0.5 xtable_1.8-2 httpuv_1.3.5 stringi_1.1.6 RCurl_1.95-4.8 slam_0.1-40
rJava가 RStudio 관련 소프트웨어에서 열리기 위해선 R 설치 경로 아래 lib64 등의 디렉터리에 .so 파일이 심볼릭 링크 등으로 등록돼 있어야 합니다.
그리고 아마 서버 로케일이 C로 돼 있을 거 같네요.
로케일을 ko_KR.UTF8로 바꾸실 수 있으세요? (리눅스 기준)