tidyverse-korea / statdata

통계팩키지 포함 데이터셋
https://tidyverse-korea.github.io/statdata
GNU General Public License v3.0
3 stars 5 forks source link

윈도우 설치 오류 #28

Open statkclee opened 3 years ago

statkclee commented 3 years ago

statdata 팩키지를 맥에서 설치할 경우 문제가 없습니다. 하지만 윈도우에서 설치할 경우

remotes::install_github("tidyverse-korea/statdata", build = FALSE)

다음과 같은 오류가 나네요~~~

> remotes::install_github("tidyverse-korea/statdata", build = FALSE)
Downloading GitHub repo tidyverse-korea/statdata@HEAD
Installing package into ‘C:/Users/kwangchunlee/R/win-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package 'statdata' ...
** using staged installation
Error in parse(con, encoding = "UTF-8") : 
  구문분석중 라인 2에서 유효하지 않은 멀티바이트 문자를 찾았습니다
ERROR: installing package DESCRIPTION failed for package 'statdata'
* removing 'C:/Users/kwangchunlee/R/win-library/4.0/statdata'
youngroklee-ml commented 3 years ago

제 윈도우 컴퓨터에서는 설치 오류가 나지 않습니다. 참고로 제 환경은 Windows 10 Home Edition 19043, R 4.1.0 (64-bit), Rtools 4.0이고, OS에서 "Language for non-Unicode programs"를 "Korean"으로 설정하고, "Beta"옵션을 활성화시켰습니다.

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=English_United States.1252 
#> [2] LC_CTYPE=English_United States.1252   
#> [3] LC_MONETARY=English_United States.1252
#> [4] LC_NUMERIC=C                          
#> [5] LC_TIME=English_United States.1252    
#> system code page: 65001
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> loaded via a namespace (and not attached):
#>  [1] knitr_1.33        magrittr_2.0.1    R.cache_0.15.0    rlang_0.4.11     
#>  [5] fansi_0.5.0       stringr_1.4.0     styler_1.6.2      highr_0.9        
#>  [9] tools_4.1.0       xfun_0.25         R.oo_1.24.0       utf8_1.2.2       
#> [13] withr_2.4.2       htmltools_0.5.1.1 ellipsis_0.3.2    yaml_2.2.1       
#> [17] digest_0.6.27     tibble_3.1.3      lifecycle_1.0.0   crayon_1.4.1     
#> [21] purrr_0.3.4       R.utils_2.11.0    vctrs_0.3.8       fs_1.5.0         
#> [25] glue_1.4.2        evaluate_0.14     rmarkdown_2.10    reprex_2.0.1     
#> [29] stringi_1.7.3     compiler_4.1.0    pillar_1.6.2      backports_1.2.1  
#> [33] R.methodsS3_1.8.1 pkgconfig_2.0.3

Created on 2021-09-27 by the reprex package (v2.0.1)

statkclee commented 3 years ago

@youngroklee-ml 혹시 윈도우 운영체제가 쉽게 말해서... 한글 윈도우즈가 아니라 영문 윈도우즈 이신가요?

youngroklee-ml commented 3 years ago

네, 영문 윈도우즈 입니다.

On Mon, Sep 27, 2021 at 9:21 PM Kwangchun Lee @.***> wrote:

@youngroklee-ml https://github.com/youngroklee-ml 혹시 윈도우 운영체제가 쉽게 말해서... 한글 윈도우즈가 아니라 영문 윈도우즈 이신가요?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tidyverse-korea/statdata/issues/28#issuecomment-928565554, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHL4FY5KEJBM7POT2JV7ABTUEEKBHANCNFSM5ESSJJ5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

statkclee commented 3 years ago

미국에서 개발한 코드가 있는데... 한국에서 돌지 않아... 원인을 찾았는데... 윈도우즈 로케일을 미국 US로 설정, 즉 영문 윈도우즈로 사용하면 해결되는 경험이 있었습니다. 아마도 @choonghyunryu 님이 제안하신 DESCRIPTION을 영문으로 작성하는 방법이 현재로는 최선인 듯 싶습니다.

statkclee commented 3 years ago

DESCRIPTION 파일을 영문으로 작성하고 윈도우에서 빌드하니 정상으로 동작합니다. 한번씩 설치해서 테스트해보는 것이 어떨까 싶습니다.

HwayoungYoon commented 3 years ago

영문으로 작성된 DESCRIPTION으로 한글 윈도우인 제 노트북에서 빌드한 결과 잘 동작합니다.

statkclee commented 3 years ago

@HwayoungYoon 단변량이 아니 2변량 데이터셋 기대하고 있습니다.