bit2r / bitTA

기능이 bitNLP로 이관되었습니다. bitNLP를 사용하시기 바랍니다.
https://r2bit.com/bitNLP/
GNU General Public License v2.0
10 stars 0 forks source link

자바 의존성을 갖는 KoNLP 패키지 삭제 #3

Closed statkclee closed 2 years ago

statkclee commented 2 years ago

[가칭] "R 텍스트 분석 - bitTA" 전자책을 프로젝트를 시작하면서 KoNLP 패키지는 자바 의존성으로 인해 bitTA 패키지에서 삭제하는 것이 어떨까 싶습니다.

> remotes::install_github("bit2r/bitTA")
Downloading GitHub repo bit2r/bitTA@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All                               
2: CRAN packages only                
3: None                              
4: rlang    (1.0.3   -> 1.0.4) [CRAN]
5: Rcpp     (1.0.8.3 -> 1.0.9) [CRAN]
6: stringi  (1.7.6   -> 1.7.8) [CRAN]
7: generics (0.1.2   -> 0.1.3) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 3
✔  checking for file 'C:\Users\statkclee\AppData\Local\Temp\RtmpiSnZ4T\remotes59acb2e54cb\bit2r-bitTA-aa5faba/DESCRIPTION' (378ms)
─  preparing 'bitTA': (728ms)
✔  checking DESCRIPTION meta-information ... 
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
     NB: this package now depends on R (>= 3.5.0)
     WARNING: Added dependency on R >= 3.5.0 because serialized objects in
     serialize/load version 3 cannot be read in older versions of R.
     File(s) containing such objects:
       'bitTA/data/buzz.rda' 'bitTA/data/movie_ratings_test.rda'
       'bitTA/data/movie_ratings_train.rda'
       'bitTA/data/president_speech.rda' 'bitTA/data/rest_area.rda'
       'bitTA/data/sentiment_dic.rda'
─  building 'bitTA_1.1.0.9000.tar.gz'

Installing package into ‘C:/Users/statkclee/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
ERROR: dependencies 'KoNLP', 'RMeCab' are not available for package 'bitTA'
* removing 'C:/Users/statkclee/AppData/Local/R/win-library/4.2/bitTA'
choonghyunryu commented 2 years ago

bitTA에서 KoNLP 패키지의 역할은 크지 않습니다. 득보다 실이 많을 수 있으니, 개발 버전에서 삭제했습니다.