juliasilge / tidytext

Text mining using tidy tools :sparkles::page_facing_up::sparkles:

Home Page:https://juliasilge.github.io/tidytext/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gen_sentiments("nrc") fails due to change in url

rfaridi opened this issue · comments

The download url changed from 'http://saifmohammad.com/WebDocs/NRC-Emotion-Lexicon.zip' to 'http://saifmohammad.com/WebDocs/Lexicons/NRC-Emotion-Lexicon.zip'. I have wasted couple of hours to find the glitch. Interim solution is to manually download the file, put it in the return_file directory and then run lexicon_nrc(manual_download=T).

Hello @rfaridi 👋

This should be fixed now in {textdata} version 0.4.2. You can get it by using install.package("textdata") in a little bit (still waiting for CRAN to build.
If you need it now you can install it with

# install.packages("remotes")
remotes::install_github("emilhvitfeldt/textdata@v0.4.2")

Great! Thanks a lot for quick response!

Thank you so much @EmilHvitfeldt! 🙌

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.